diff options
| author | Stefan Monnier | 2000-11-03 20:12:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-11-03 20:12:20 +0000 |
| commit | d247e32d0e3c1803cc182fdddcfd2fdf0d92860b (patch) | |
| tree | 11d9aa3574d2381e3672f179da3cbf1344fe81e2 | |
| parent | fd1d9d98138c3d317c8e51e76ecebd8a17944e75 (diff) | |
| download | emacs-d247e32d0e3c1803cc182fdddcfd2fdf0d92860b.tar.gz emacs-d247e32d0e3c1803cc182fdddcfd2fdf0d92860b.zip | |
(log-edit-menu): New menu.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/log-edit.el | 19 |
2 files changed, 22 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49c823c9f90..55fc91209bb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2000-11-03 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * log-edit.el (log-edit-menu): New menu. | ||
| 4 | |||
| 1 | 2000-11-03 Miles Bader <miles@gnu.org> | 5 | 2000-11-03 Miles Bader <miles@gnu.org> |
| 2 | 6 | ||
| 3 | * wid-edit.el (widget-end-of-line): Reinstate, with a new | 7 | * 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 @@ | |||
| 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> | 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> |
| 6 | ;; Keywords: pcl-cvs cvs commit log | 6 | ;; Keywords: pcl-cvs cvs commit log |
| 7 | ;; Version: $Name: $ | 7 | ;; Version: $Name: $ |
| 8 | ;; Revision: $Id: log-edit.el,v 1.8 2000/10/24 11:27:41 fx Exp $ | 8 | ;; Revision: $Id: log-edit.el,v 1.9 2000/10/30 14:28:30 monnier Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -63,6 +63,23 @@ | |||
| 63 | :inherit (if (boundp 'vc-log-entry-mode) vc-log-entry-mode | 63 | :inherit (if (boundp 'vc-log-entry-mode) vc-log-entry-mode |
| 64 | (if (boundp 'vc-log-mode-map) vc-log-mode-map))) | 64 | (if (boundp 'vc-log-mode-map) vc-log-mode-map))) |
| 65 | 65 | ||
| 66 | (easy-menu-define log-edit-menu log-edit-mode-map | ||
| 67 | "Menu used for `log-edit-mode'." | ||
| 68 | '("Log-Edit" | ||
| 69 | ["Done" log-edit-done | ||
| 70 | :help "Exit log-edit and proceed with the actual action."] | ||
| 71 | "--" | ||
| 72 | ["Insert ChangeLog" log-edit-insert-changelog] | ||
| 73 | ["Add to ChangeLog" log-edit-add-to-changelog] | ||
| 74 | "--" | ||
| 75 | ["List files" log-edit-show-files | ||
| 76 | :help "Show the list of relevant files."] | ||
| 77 | "--" | ||
| 78 | ["Previous comment" vc-previous-comment] | ||
| 79 | ["Next comment" vc-next-comment] | ||
| 80 | ["Search comment forward" vc-comment-search-forward] | ||
| 81 | ["Search comment backward" vc-comment-search-reverse])) | ||
| 82 | |||
| 66 | (defcustom log-edit-confirm 'changed | 83 | (defcustom log-edit-confirm 'changed |
| 67 | "*If non-nil, `log-edit-done' will request confirmation. | 84 | "*If non-nil, `log-edit-done' will request confirmation. |
| 68 | If 'changed, only request confirmation if the list of files has | 85 | If 'changed, only request confirmation if the list of files has |