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
|
||||
(/ (* width 1.0 (linum--face-width 'linum))
|
||||
(frame-char-width)))))
|
||||
;; open up space in the left margin, if needed, and record that
|
||||
;; fact as a the window-parameter `linum--set-margins'
|
||||
;; open up space in the left margin, if needed, and record that
|
||||
;; fact as the window-parameter `linum--set-margins'
|
||||
(let ((existing-margins (window-margins win)))
|
||||
(when (> width (or (car existing-margins) 0))
|
||||
(set-window-margins win width (cdr existing-margins))
|
||||
|
|
Loading…
Add table
Reference in a new issue