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:
parent
5062421853
commit
483bdbb35b
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user