mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
Fix bug#5477.
Stephen Berman <stephen.berman at gmx.net>: (diary-unhide-everything): Handle narrowed buffers.
This commit is contained in:
parent
1d78a74696
commit
7d82a7383b
@ -1,3 +1,8 @@
|
||||
2010-01-27 Stephen Berman <stephen.berman@gmx.net>
|
||||
|
||||
* calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
|
||||
buffers. (Bug#5477)
|
||||
|
||||
2010-01-27 David De La Harpe Golden <david@harpegolden.net>
|
||||
|
||||
* files.el (delete-directory): Handle moving to trash without
|
||||
|
@ -804,7 +804,9 @@ LIST-ONLY is non-nil, in which case it just returns the list."
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user