mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(emacs-lisp): +emacs-lisp--module-at-point: wrong-number-of-arguments error
This commit is contained in:
@ -66,7 +66,7 @@ Intended to replace `lisp-outline-level'."
|
|||||||
(re-search-backward
|
(re-search-backward
|
||||||
"\\_<:\\(?:\\sw\\|\\s_\\)+\\_>" ;; Find a keyword.
|
"\\_<:\\(?:\\sw\\|\\s_\\)+\\_>" ;; Find a keyword.
|
||||||
doom-start 'noerror))
|
doom-start 'noerror))
|
||||||
(unless (looking-back "(")
|
(unless (looking-back "(" (bol))
|
||||||
(let ((kw-syntax (syntax-ppss)))
|
(let ((kw-syntax (syntax-ppss)))
|
||||||
(when (and (= (ppss-depth kw-syntax) doom-depth)
|
(when (and (= (ppss-depth kw-syntax) doom-depth)
|
||||||
(not (ppss-string-terminator kw-syntax))
|
(not (ppss-string-terminator kw-syntax))
|
||||||
|
Reference in New Issue
Block a user