From: Stefan Monnier Date: Fri, 6 May 2005 22:19:48 +0000 (+0000) Subject: (cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with X-Git-Tag: ttn-vms-21-2-B4~473 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f4d0dd97e7187e7bc9d808ece4758cf39bf079d;p=emacs.git (cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with list-buffers-directory. This caused the *cvs-commit* buffer to be sometimes mistakenly reused as a *cvs* buffer. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e487f3e3486..d6cc0b60657 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-05-06 Stefan Monnier + + * pcvs.el (cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with + list-buffers-directory. This caused the *cvs-commit* buffer to be + sometimes mistakenly reused as a *cvs* buffer. + 2005-05-07 Nick Roberts * tooltip.el: Move code for GUD tooltips into gud.el. @@ -33,9 +39,9 @@ (gud-tooltip-original-filter, gud-tooltip-dereference) (gud-tooltip-event, tooltip-toggle-gud-tips) (gud-tooltip-process-output, gud-tooltip-print-command) - (gud-tooltip-tips): Moved from tooltip.el. + (gud-tooltip-tips): Move from tooltip.el. - * progmodes/gdb-ui.el (gdb-tooltip-print): Moved from tooltip.el. + * progmodes/gdb-ui.el (gdb-tooltip-print): Move from tooltip.el. (gdb-cpp-define-alist-flags): Doc fix. (gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if gud-tooltip-mode is t. diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 6382705139e..7c96a080c54 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -1438,12 +1438,10 @@ The POSTPROC specified there (typically `log-edit') is then called, ;; displayed in the wrong minibuffer). (cvs-mode!) (let ((buf (cvs-temp-buffer "message" 'normal 'nosetup)) - (lbd list-buffers-directory) (setupfun (or (nth 2 (cdr (assoc "message" cvs-buffer-name-alist))) '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) (run-hooks 'cvs-mode-commit-hook))) (defun cvs-commit-minor-wrap (buf f) @@ -1494,14 +1492,12 @@ This is best called from a `log-view-mode' buffer." ;; displayed in the wrong minibuffer). (cvs-mode!) (let ((buf (cvs-temp-buffer "message" 'normal 'nosetup)) - (lbd list-buffers-directory) (setupfun (or (nth 2 (cdr (assoc "message" cvs-buffer-name-alist))) 'log-edit))) (funcall setupfun 'cvs-do-edit-log nil 'cvs-edit-log-filelist buf) (when text (erase-buffer) (insert text)) (set (make-local-variable 'cvs-edit-log-revision) rev) (set (make-local-variable 'cvs-minor-wrap-function) 'cvs-edit-log-minor-wrap) - (set (make-local-variable 'list-buffers-directory) lbd) ;; (run-hooks 'cvs-mode-commit-hook) ))