aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/add-log.el17
2 files changed, 20 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7922b083a9f..5053ea60b06 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * add-log.el (change-log-mode-map): Add a menu.
4
12009-07-27 Michael Albinus <michael.albinus@gmx.de> 52009-07-27 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the 7 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
diff --git a/lisp/add-log.el b/lisp/add-log.el
index cf97dfc0ee9..30c9520a66d 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -554,11 +554,26 @@ Compatibility function for \\[next-error] invocations."
554 (select-window change-log-find-window))))) 554 (select-window change-log-find-window)))))
555 555
556(defvar change-log-mode-map 556(defvar change-log-mode-map
557 (let ((map (make-sparse-keymap))) 557 (let ((map (make-sparse-keymap))
558 (menu-map (make-sparse-keymap)))
558 (define-key map [?\C-c ?\C-p] 'add-log-edit-prev-comment) 559 (define-key map [?\C-c ?\C-p] 'add-log-edit-prev-comment)
559 (define-key map [?\C-c ?\C-n] 'add-log-edit-next-comment) 560 (define-key map [?\C-c ?\C-n] 'add-log-edit-next-comment)
560 (define-key map [?\C-c ?\C-f] 'change-log-find-file) 561 (define-key map [?\C-c ?\C-f] 'change-log-find-file)
561 (define-key map [?\C-c ?\C-c] 'change-log-goto-source) 562 (define-key map [?\C-c ?\C-c] 'change-log-goto-source)
563 (define-key map [menu-bar changelog] (cons "ChangeLog" menu-map))
564 (define-key menu-map [gs]
565 '(menu-item "Go To Source" change-log-goto-source
566 :help "Go to source location of ChangeLog tag near point"))
567 (define-key menu-map [ff]
568 '(menu-item "Find File" change-log-find-file
569 :help "Visit the file for the change under point"))
570 (define-key menu-map [sep] '("--"))
571 (define-key menu-map [nx]
572 '(menu-item "Next Log-Edit Comment" add-log-edit-next-comment
573 :help "Cycle forward through Log-Edit mode comment history"))
574 (define-key menu-map [pr]
575 '(menu-item "Previous Log-Edit Comment" add-log-edit-prev-comment
576 :help "Cycle backward through Log-Edit mode comment history"))
562 map) 577 map)
563 "Keymap for Change Log major mode.") 578 "Keymap for Change Log major mode.")
564 579