comparison lisp/linum.el @ 92141:87d23b09ce4d

(linum-after-config): Update all visible windows.
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 23 Feb 2008 23:34:36 +0000
parents b796e645bb4e
children ee5932bf781d
comparison
equal deleted inserted replaced
92140:acd34594a059 92141:87d23b09ce4d
186 (defun linum-schedule () 186 (defun linum-schedule ()
187 ;; schedule an update; the delay gives Emacs a chance for display changes 187 ;; schedule an update; the delay gives Emacs a chance for display changes
188 (run-with-idle-timer 0 nil #'linum-update-current)) 188 (run-with-idle-timer 0 nil #'linum-update-current))
189 189
190 (defun linum-after-config () 190 (defun linum-after-config ()
191 (walk-windows (lambda (w) (linum-update (window-buffer))) nil 'visible)) 191 (walk-windows (lambda (w) (linum-update (window-buffer w))) nil 'visible))
192 192
193 (defun linum-unload-function () 193 (defun linum-unload-function ()
194 "Unload the Linum library." 194 "Unload the Linum library."
195 (global-linum-mode -1) 195 (global-linum-mode -1)
196 ;; continue standard unloading 196 ;; continue standard unloading