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:
João Távora 2015-11-17 22:28:50 +00:00
parent b92307f670
commit c6457cef92

View file

@ -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))