mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-05 05:21:26 -08:00
Fix problem with side-window dimension calculation
The fringes were not being included in version 24. This makes the calculation consistent with the left/right side-window calculation and fixes #97.
This commit is contained in:
parent
f4a1b4283b
commit
9bb70c8cdd
1 changed files with 2 additions and 1 deletions
|
|
@ -1019,7 +1019,8 @@ width) in lines and characters respectively."
|
|||
(- (if (member which-key-side-window-location '(left right))
|
||||
(which-key--total-width-to-text (which-key--width-or-percentage-to-width
|
||||
which-key-side-window-max-width))
|
||||
(frame-width))
|
||||
(which-key--total-width-to-text (which-key--width-or-percentage-to-width
|
||||
1.0)))
|
||||
which-key-unicode-correction))))
|
||||
|
||||
(defun which-key--frame-max-dimensions ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue