Skip to content

Commit 91b05e8

Browse files
committed
jump to the beginning-of-defun
1 parent 2889260 commit 91b05e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisp/init-display.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ Version 2017-03-12"
219219
(interactive)
220220
(set (make-variable-buffer-local 'my-hs-hide-block) (not my-hs-hide-block))
221221
(if my-hs-hide-block
222-
(hs-hide-block)
222+
(progn
223+
(beginning-of-defun)
224+
(hs-hide-block))
223225
(hs-show-block)))
224226

225227
;; { -- START: default inline image background in Org-mode

0 commit comments

Comments
 (0)