1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

(cvs-temp-buffer): Disable undo in temp buffers.

This commit is contained in:
Stefan Monnier 2007-07-24 01:06:39 +00:00
parent 5062421853
commit 483bdbb35b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
* pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
* ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the

View File

@ -396,7 +396,9 @@ from the current buffer."
(set (make-local-variable 'cvs-buffer) cvs-buf)
;;(cvs-minor-mode 1)
(let ((lbd list-buffers-directory))
(if (fboundp mode) (funcall mode) (fundamental-mode))
(if (fboundp mode) (funcall mode)
(fundamental-mode)
(buffer-disable-undo))
(when lbd (set (make-local-variable 'list-buffers-directory) lbd)))
(cvs-minor-mode 1)
;;(set (make-local-variable 'cvs-buffer) cvs-buf)