diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-10 21:20:56 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-10 21:20:56 +0000 |
commit | ca98cd37912088bd7c7fd02c8da265d13d71bb4f (patch) | |
tree | 3ab7eaf177771d5c52cca566274e82fa767541ce /lisp/pcvs.el | |
parent | 178917f7f2a2536757adeb6d7bfb28ed026c37dc (diff) | |
download | emacs-ca98cd37912088bd7c7fd02c8da265d13d71bb4f.tar.gz emacs-ca98cd37912088bd7c7fd02c8da265d13d71bb4f.tar.bz2 emacs-ca98cd37912088bd7c7fd02c8da265d13d71bb4f.zip |
Update references to CVS-Edit (now Log-Edit).
(cvs-mode-diff-help): Remove.
(cvs-mode-commit): Use the new `log-edit' BUFFER argument.
Diffstat (limited to 'lisp/pcvs.el')
-rw-r--r-- | lisp/pcvs.el | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 8013a51f06a..f9d444aa2a9 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -14,7 +14,7 @@ ;; Maintainer: (Stefan Monnier) monnier+lists/cvs/pcl@flint.cs.yale.edu ;; Keywords: CVS, version control, release management ;; Version: $Name: $ -;; Revision: $Id: pcvs.el,v 1.19 2000/12/06 19:36:20 fx Exp $ +;; Revision: $Id: pcvs.el,v 1.20 2000/12/08 16:58:45 monnier Exp $ ;; This file is part of GNU Emacs. @@ -1069,7 +1069,7 @@ Full documentation is in the Texinfo file." "Display help for various PCL-CVS commands." (interactive) (if (eq last-command 'cvs-help) - (describe-function 'cvs-mode) ; would need minor-mode for cvs-edit-mode + (describe-function 'cvs-mode) ; would need minor-mode for log-edit-mode (message (substitute-command-keys "`\\[cvs-help]':help `\\[cvs-mode-add]':add `\\[cvs-mode-commit]':commit \ @@ -1077,18 +1077,6 @@ Full documentation is in the Texinfo file." `\\[cvs-mode-remove]':remove `\\[cvs-mode-status]':status \ `\\[cvs-mode-undo]':undo")))) -(defun cvs-mode-diff-help () - "Display help for various PCL-CVS diff commands." - (interactive) - (if (eq last-command 'cvs-mode-diff-help) - (describe-function 'cvs-mode) ; no better docs for diff stuff? - (message - (substitute-command-keys - "`\\[cvs-mode-diff]':diff `\\[cvs-mode-idiff]':idiff \ -`\\[cvs-mode-diff-head]':head `\\[cvs-mode-diff-vendor]':vendor \ -`\\[cvs-mode-diff-backup]':backup `\\[cvs-mode-idiff-other]':other \ -`\\[cvs-mode-imerge]':imerge")))) - ;; Move around in the buffer (defun-cvs-mode cvs-mode-previous-line (arg) @@ -1290,7 +1278,7 @@ If FILE is non-nil, directory entries won't be selected." (apply 'cvs-mode-marked -cvs-mode-files-args))))) ;;; -;;; Interface between CVS-Edit and PCL-CVS +;;; Interface between Log-Edit and PCL-CVS ;;; (defun cvs-mode-commit-setup () @@ -1303,20 +1291,20 @@ If FILE is non-nil, directory entries won't be selected." The user will be asked for a log message in a buffer. The buffer's mode and name is determined by the \"message\" setting of `cvs-buffer-name-alist'. -The POSTPROC specified there (typically `cvs-edit') is then called, +The POSTPROC specified there (typically `log-edit') is then called, passing it the SETUP argument." (interactive "P") ;; It seems that the save-excursion that happens if I use the better ;; form of `(cvs-mode! (lambda ...))' screws up a couple things which - ;; end up being rather annoying (like cvs-edit-mode's message being + ;; end up being rather annoying (like log-edit-mode's message being ;; displayed in the wrong minibuffer). (cvs-mode!) - (pop-to-buffer (cvs-temp-buffer "message" 'normal 'nosetup)) - (set (make-local-variable 'cvs-minor-wrap-function) 'cvs-commit-minor-wrap) - (let ((lbd list-buffers-directory) + (let ((buf (cvs-temp-buffer "message" 'normal 'nosetup)) + (lbd list-buffers-directory) (setupfun (or (nth 2 (cdr (assoc "message" cvs-buffer-name-alist))) - 'cvs-edit))) - (funcall setupfun 'cvs-do-commit setup 'cvs-commit-filelist) + 'log-edit))) + (funcall setupfun 'cvs-do-commit setup 'cvs-commit-filelist buf) + (set (make-local-variable 'cvs-minor-wrap-function) 'cvs-commit-minor-wrap) (set (make-local-variable 'list-buffers-directory) lbd))) (defun cvs-commit-minor-wrap (buf f) |