aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2002-04-23 15:16:54 +0000
committerAndreas Schwab2002-04-23 15:16:54 +0000
commit262748c5747f8d99de45ebeec9833f6945e103fd (patch)
tree279d0223b49a0d00ec33ada39b3ae83f6372bcad
parent68703c115692066d00800da1fcbfd951f4f943e1 (diff)
downloademacs-262748c5747f8d99de45ebeec9833f6945e103fd.tar.gz
emacs-262748c5747f8d99de45ebeec9833f6945e103fd.zip
(menu-bar-goto-menu): Fix bindings for next-tag and next-tag-otherw.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/menu-bar.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 099bfe3b0f4..17c4fb71868 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-04-23 Andreas Schwab <schwab@suse.de>
2
3 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
4 next-tag-otherw.
5
12002-04-23 Miles Bader <miles@gnu.org> 62002-04-23 Miles Bader <miles@gnu.org>
2 7
3 * menu-bar.el (menu-bar-update-buffers-1): Don't display a 8 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 60fdb59994a..959c68cc6ac 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -352,13 +352,13 @@ A large number or nil slows down menu responsiveness."
352 :help "Find function/variables whose names match regexp")) 352 :help "Find function/variables whose names match regexp"))
353(define-key menu-bar-goto-menu [next-tag-otherw] 353(define-key menu-bar-goto-menu [next-tag-otherw]
354 '(menu-item "Next Tag in Other Window" 354 '(menu-item "Next Tag in Other Window"
355 (function (lambda () (find-tag-other-window nil t))) 355 (lambda () (interactive) (find-tag-other-window nil t))
356 :enable (and (boundp 'tags-location-ring) 356 :enable (and (boundp 'tags-location-ring)
357 (not (ring-empty-p tags-location-ring))) 357 (not (ring-empty-p tags-location-ring)))
358 :help "Find next function/variable matching last tag name in another window")) 358 :help "Find next function/variable matching last tag name in another window"))
359(define-key menu-bar-goto-menu [next-tag] 359(define-key menu-bar-goto-menu [next-tag]
360 '(menu-item "Find Next Tag" 360 '(menu-item "Find Next Tag"
361 (function (lambda () (find-tag nil t))) 361 (lambda () (interactive) (find-tag nil t))
362 :enable (and (boundp 'tags-location-ring) 362 :enable (and (boundp 'tags-location-ring)
363 (not (ring-empty-p tags-location-ring))) 363 (not (ring-empty-p tags-location-ring)))
364 :help "Find next function/variable matching last tag name")) 364 :help "Find next function/variable matching last tag name"))