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:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user