aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/bufhist.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-14 10:34:08 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-14 10:34:08 +0000
commitbad260e0cc29299403a81b43cc85c5d947785893 (patch)
treea995a38473e300973ca2fc95ccb690f609579c3b /lib/bufhist.el
parent36df9255297d34255004258dc2a729f56d84e326 (diff)
Comments.
Diffstat (limited to 'lib/bufhist.el')
-rw-r--r--lib/bufhist.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bufhist.el b/lib/bufhist.el
index 23468646..aa58a37d 100644
--- a/lib/bufhist.el
+++ b/lib/bufhist.el
@@ -74,6 +74,8 @@
'help-echo desc
'keymap (eval-when-compile
(let ((map (make-sparse-keymap)))
+ ;; FIXME: clicking can go wrong here because the
+ ;; current buffer can be something else which has no hist!
(define-key map [mode-line mouse-1] 'bufhist-prev)
(define-key map [mode-line mouse-3] 'bufhist-next)
; (define-key map [mode-line control mouse-1] 'bufhist-first)