From: Stefan Monnier Date: Fri, 3 Nov 2000 20:12:20 +0000 (+0000) Subject: (log-edit-menu): New menu. X-Git-Tag: emacs-pretest-21.0.90~332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d247e32d0e3c1803cc182fdddcfd2fdf0d92860b;p=emacs.git (log-edit-menu): New menu. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49c823c9f90..55fc91209bb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2000-11-03 Stefan Monnier + + * log-edit.el (log-edit-menu): New menu. + 2000-11-03 Miles Bader * wid-edit.el (widget-end-of-line): Reinstate, with a new diff --git a/lisp/log-edit.el b/lisp/log-edit.el index 1631a7c37e5..a02747b7476 100644 --- a/lisp/log-edit.el +++ b/lisp/log-edit.el @@ -5,7 +5,7 @@ ;; Author: Stefan Monnier ;; Keywords: pcl-cvs cvs commit log ;; Version: $Name: $ -;; Revision: $Id: log-edit.el,v 1.8 2000/10/24 11:27:41 fx Exp $ +;; Revision: $Id: log-edit.el,v 1.9 2000/10/30 14:28:30 monnier Exp $ ;; This file is part of GNU Emacs. @@ -63,6 +63,23 @@ :inherit (if (boundp 'vc-log-entry-mode) vc-log-entry-mode (if (boundp 'vc-log-mode-map) vc-log-mode-map))) +(easy-menu-define log-edit-menu log-edit-mode-map + "Menu used for `log-edit-mode'." + '("Log-Edit" + ["Done" log-edit-done + :help "Exit log-edit and proceed with the actual action."] + "--" + ["Insert ChangeLog" log-edit-insert-changelog] + ["Add to ChangeLog" log-edit-add-to-changelog] + "--" + ["List files" log-edit-show-files + :help "Show the list of relevant files."] + "--" + ["Previous comment" vc-previous-comment] + ["Next comment" vc-next-comment] + ["Search comment forward" vc-comment-search-forward] + ["Search comment backward" vc-comment-search-reverse])) + (defcustom log-edit-confirm 'changed "*If non-nil, `log-edit-done' will request confirmation. If 'changed, only request confirmation if the list of files has