chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
el/dot-emacs.el: Wrap `save-excursion' around `hs-hide-all' hack.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index cd0ee1056ae88b82655d34d38e044d3e10482428..e4e7f8d499ba82ab206b3630b9a51a5271da5615 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2237,7
+2237,7
@@
(defun mdw-outline-collapse-all ()
(setq hs-hide-comments-when-hiding-all nil)
(defadvice hs-hide-all (after hide-first-comment activate)
(setq hs-hide-comments-when-hiding-all nil)
(defadvice hs-hide-all (after hide-first-comment activate)
- (
hs-hide-initial-comment-block
))
+ (
save-excursion (hs-hide-initial-comment-block)
))
;;;--------------------------------------------------------------------------
;;; Shell mode.
;;;--------------------------------------------------------------------------
;;; Shell mode.