(linum-after-config): Update all visible windows.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Feb 2008 23:35:23 +0000 (23:35 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Feb 2008 23:35:23 +0000 (23:35 +0000)
lisp/ChangeLog
lisp/linum.el

index b68496c..eeb112c 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-23  Markus Triska  <markus.triska@gmx.at>
+
+       * linum.el (linum-after-config): Update all visible windows.
+
 2008-02-23  Glenn Morris  <rgm@gnu.org>
 
        * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
index 2aa79e0..906c856 100644 (file)
@@ -188,7 +188,7 @@ and you have to scroll or press \\[recenter-top-bottom] to update the numbers."
   (run-with-idle-timer 0 nil #'linum-update-current))
 
 (defun linum-after-config ()
-  (walk-windows (lambda (w) (linum-update (window-buffer))) nil 'visible))
+  (walk-windows (lambda (w) (linum-update (window-buffer w))) nil 'visible))
 
 (defun linum-unload-function ()
   "Unload the Linum library."