Commit 0393cd2f authored by Michael Heerdegen's avatar Michael Heerdegen Committed by Lars Ingebrigtsen

Fix example code in hideshow.el

* lisp/progmodes/hideshow.el: The original example would infloop
(bug#19892).
parent 3e943ebc
Pipeline #2713 failed with stage
in 86 minutes
......@@ -97,7 +97,8 @@
;; nested level in addition to the top-level:
;;
;; (defun ttn-hs-hide-level-1 ()
;; (hs-hide-level 1)
;; (when (hs-looking-at-block-start-p)
;; (hs-hide-level 1))
;; (forward-sexp 1))
;; (setq hs-hide-all-non-comment-function 'ttn-hs-hide-level-1)
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment