Commit 89b5595a authored by Glenn Morris's avatar Glenn Morris

* calendar.el (calendar-in-read-only-buffer): Avoid some needless mode changes.

parent a3f10d3e
2012-06-22 Glenn Morris <>
* calendar/calendar.el (calendar-in-read-only-buffer):
Avoid some needless mode changes.
2012-06-21 Chong Yidong <>
* desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
......@@ -1112,7 +1112,7 @@ with disabled undo. Leaves point at point-min, displays BUFFER."
(declare (indent 1) (debug t))
(set-buffer (get-buffer-create ,buffer))
(or (derived-mode-p 'special-mode) (special-mode))
(setq buffer-read-only nil
buffer-undo-list t)
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