Commit 483bdbb3 authored by Stefan Monnier's avatar Stefan Monnier

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

parent 50624218
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment