mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
Minor fix to comment indentation and typo in last commit
* linum.el (linum-update-window): Fix comment indentation and a typo.
This commit is contained in:
parent
b92307f670
commit
c6457cef92
1 changed files with 2 additions and 2 deletions
|
|
@ -201,8 +201,8 @@ Linum mode is a buffer-local minor mode."
|
||||||
(setq width (ceiling
|
(setq width (ceiling
|
||||||
(/ (* width 1.0 (linum--face-width 'linum))
|
(/ (* width 1.0 (linum--face-width 'linum))
|
||||||
(frame-char-width)))))
|
(frame-char-width)))))
|
||||||
;; open up space in the left margin, if needed, and record that
|
;; open up space in the left margin, if needed, and record that
|
||||||
;; fact as a the window-parameter `linum--set-margins'
|
;; fact as the window-parameter `linum--set-margins'
|
||||||
(let ((existing-margins (window-margins win)))
|
(let ((existing-margins (window-margins win)))
|
||||||
(when (> width (or (car existing-margins) 0))
|
(when (> width (or (car existing-margins) 0))
|
||||||
(set-window-margins win width (cdr existing-margins))
|
(set-window-margins win width (cdr existing-margins))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue