fix(emacs-lisp): +emacs-lisp--module-at-point: wrong-number-of-arguments error

This commit is contained in:
Henrik Lissner 2024-03-11 19:14:14 -04:00 committed by Yann Esposito (Yogsototh)
parent 1a8afbb4ff
commit f5156be684
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -66,7 +66,7 @@ Intended to replace `lisp-outline-level'."
(re-search-backward
"\\_<:\\(?:\\sw\\|\\s_\\)+\\_>" ;; Find a keyword.
doom-start 'noerror))
(unless (looking-back "(")
(unless (looking-back "(" (bol))
(let ((kw-syntax (syntax-ppss)))
(when (and (= (ppss-depth kw-syntax) doom-depth)
(not (ppss-string-terminator kw-syntax))