From aad9f093fb82e754e34e6a790ed4095be1ebfb49 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 6 May 2005 22:19:48 +0000 Subject: (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. --- lisp/ChangeLog | 10 ++++++++-- lisp/pcvs.el | 4 ---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'lisp') diff --git a/lisp/ChangeLog b/lisp/ChangeLog index efe41eb0303..1cf1b10687c 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) )) -- cgit v1.2.1