aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/calendar/calendar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 33cb57b352d..0d6ea8e7f4c 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1112,6 +1112,7 @@ with disabled undo. Leaves point at point-min, displays BUFFER."
1112 (declare (indent 1) (debug t)) 1112 (declare (indent 1) (debug t))
1113 `(progn 1113 `(progn
1114 (set-buffer (get-buffer-create ,buffer)) 1114 (set-buffer (get-buffer-create ,buffer))
1115 (special-mode)
1115 (setq buffer-read-only nil 1116 (setq buffer-read-only nil
1116 buffer-undo-list t) 1117 buffer-undo-list t)
1117 (erase-buffer) 1118 (erase-buffer)
@@ -1119,7 +1120,6 @@ with disabled undo. Leaves point at point-min, displays BUFFER."
1119 (goto-char (point-min)) 1120 (goto-char (point-min))
1120 (set-buffer-modified-p nil) 1121 (set-buffer-modified-p nil)
1121 (setq buffer-read-only t) 1122 (setq buffer-read-only t)
1122 (special-mode)
1123 (display-buffer ,buffer))) 1123 (display-buffer ,buffer)))
1124 1124
1125;; The following are in-line for speed; they can be called thousands of times 1125;; The following are in-line for speed; they can be called thousands of times