Skip to content

Commit

Permalink
Fix keyword-search for Elisp (cl-style defun* etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
tj64 committed Jul 10, 2014
1 parent 57396a1 commit 96bc7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions navi-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ regexp and performs an occur-search with it."
:value-type alist))

(defcustom navi-keywords
'(("emacs-lisp" . ((:ALL . "^[[:space:]]*(def[a-z]+ ")
'(("emacs-lisp" . ((:ALL . "^[[:space:]]*(def[a-z]+\\*? ")
(:OBJ . "^[[:space:]]*(def[smc][^auo][a-z]+ ")
(:VAR . "^[[:space:]]*(def[vcgf][^l][a-z]+ ")
(:FUN
Expand All @@ -571,7 +571,7 @@ regexp and performs an occur-search with it."
(:defcustom . "^[[:space:]]*(defcustom ")
(:defadvice . "^[[:space:]]*(defadvice ")
(:defalias . "^[[:space:]]*(defalias ")
(:defmarcro . "^[[:space:]]*(defmacro ")
(:defmarcro . "^[[:space:]]*(defmacro\\*? ")
(:defface . "^[[:space:]]*(defface ")
(:defstruct . "^[[:space:]]*(defstruct ")
(:defsubst . "^[[:space:]]*(defsubst ")
Expand Down

0 comments on commit 96bc7fd

Please sign in to comment.