diff options
| author | Richard M. Stallman | 2002-04-22 07:51:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-22 07:51:28 +0000 |
| commit | 73e19344cec9b74c1f59e5fa44902804b397221a (patch) | |
| tree | e7174d07de08d77286f6d2b25f8b964351a2d39b | |
| parent | c9787897df86906ff853f9d09525d6b0adb995aa (diff) | |
| download | emacs-73e19344cec9b74c1f59e5fa44902804b397221a.tar.gz emacs-73e19344cec9b74c1f59e5fa44902804b397221a.zip | |
(include-other-diary-files): Allow modifying
included buffer, to turn off selective display.
| -rw-r--r-- | lisp/calendar/diary-lib.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 9c49f17adfc..54d5dca80b8 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -385,7 +385,8 @@ changing the variable `diary-include-string'." | |||
| 385 | (list-diary-entries original-date number))) | 385 | (list-diary-entries original-date number))) |
| 386 | (save-excursion | 386 | (save-excursion |
| 387 | (set-buffer (find-buffer-visiting diary-file)) | 387 | (set-buffer (find-buffer-visiting diary-file)) |
| 388 | (subst-char-in-region (point-min) (point-max) ?\^M ?\n t) | 388 | (let ((inhibit-read-only t)) |
| 389 | (subst-char-in-region (point-min) (point-max) ?\^M ?\n t)) | ||
| 389 | (setq selective-display nil) | 390 | (setq selective-display nil) |
| 390 | (set-buffer-modified-p diary-modified))) | 391 | (set-buffer-modified-p diary-modified))) |
| 391 | (beep) | 392 | (beep) |