File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10231,10 +10231,10 @@ rows and columns and the column alignment."
10231
10231
;; Add a buffer-local hook to reload after file-local variables are read
10232
10232
(add-hook 'hack-local-variables-hook #'markdown-handle-local-variables nil t)
10233
10233
;; For imenu support
10234
- (setq imenu-create-index-function
10235
- (if markdown-nested- imenu-heading -index
10236
- #'markdown-imenu-create-nested -index
10237
- #'markdown- imenu-create-flat-index) )
10234
+ (setq-local imenu-create-index-function (if markdown-nested-imenu-heading-index
10235
+ #' markdown-imenu-create-nested -index
10236
+ #'markdown-imenu-create-flat -index)
10237
+ imenu-submenus-on-top nil )
10238
10238
10239
10239
;; Defun movement
10240
10240
(setq-local beginning-of-defun-function #'markdown-beginning-of-defun)
You can’t perform that action at this time.
0 commit comments