summaryrefslogtreecommitdiff
path: root/lisp/linum.el
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 /lisp/linum.el
parentca730bf009b4c5d02157a66f4533c3b6e3055822 (diff)
downloademacs-a5b6e5a4667762c22dc25ce140b5dbb802fb30d9.tar.gz
(linum-after-config): Update all visible windows.
Diffstat (limited to 'lisp/linum.el')
-rw-r--r--lisp/linum.el2
1 files changed, 1 insertions, 1 deletions
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."