Procházet zdrojové kódy

Add imenu-generic-expression

master
10sr před 5 roky
rodič
revize
8abf08e0cc
Podepsáno: 10sr ID GPG klíče: 7BEC428194130EB2
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el Zobrazit soubor

@@ -848,6 +848,12 @@ found, otherwise returns nil."
(set-variable 'imenu-list-focus-after-activation t)
(define-key ctl-x-map "l" 'imenu-list-smart-toggle))

(add-hook 'emacs-lisp-mode-hook
(lambda ()
(setq imenu-generic-expression
`(("Sections" ";;;\+\n;; \\(.*\\)\n" 1)
,@imenu-generic-expression))))

(with-eval-after-load 'compile
(defvar compilation-filter-start)
(defvar compilation-error-regexp-alist)


Načítá se…
Zrušit
Uložit