[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99389: Fix bug#5477.
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99389: Fix bug#5477. |
Date: |
Tue, 26 Jan 2010 20:00:54 -0800 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 99389
author: Stephen Berman <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2010-01-26 20:00:54 -0800
message:
Fix bug#5477.
Stephen Berman <stephen.berman at gmx.net>:
(diary-unhide-everything): Handle narrowed buffers.
modified:
lisp/ChangeLog
lisp/calendar/diary-lib.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-01-27 03:17:23 +0000
+++ b/lisp/ChangeLog 2010-01-27 04:00:54 +0000
@@ -1,3 +1,8 @@
+2010-01-27 Stephen Berman <address@hidden>
+
+ * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
+ buffers. (Bug#5477)
+
2010-01-27 David De La Harpe Golden <address@hidden>
* files.el (delete-directory): Handle moving to trash without
=== modified file 'lisp/calendar/diary-lib.el'
--- a/lisp/calendar/diary-lib.el 2010-01-13 08:35:10 +0000
+++ b/lisp/calendar/diary-lib.el 2010-01-27 04:00:54 +0000
@@ -804,7 +804,9 @@
(defun diary-unhide-everything ()
"Show all invisible text in the diary."
(kill-local-variable 'diary-selective-display)
- (remove-overlays (point-min) (point-max) 'invisible 'diary)
+ (save-restriction ; bug#5477
+ (widen)
+ (remove-overlays (point-min) (point-max) 'invisible 'diary))
(kill-local-variable 'mode-line-format))
(defvar original-date) ; bound in diary-list-entries
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99389: Fix bug#5477.,
Glenn Morris <=