summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-02-23 23:35:23 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-02-23 23:35:23 +0000
commita5b6e5a4667762c22dc25ce140b5dbb802fb30d9 (patch)
tree6a7ea46426fd67dfdd096b5b4c87995b09e0612f
parentca730bf009b4c5d02157a66f4533c3b6e3055822 (diff)
downloademacs-a5b6e5a4667762c22dc25ce140b5dbb802fb30d9.tar.gz
(linum-after-config): Update all visible windows.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/linum.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b68496c315d..eeb112c79e1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/linum.el b/lisp/linum.el
index 2aa79e0442e..906c856b805 100644
--- a/lisp/linum.el
+++ b/lisp/linum.el
@@ -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."