lang/emacs-lisp: fix wrong-num-args error on doc lookup
This commit is contained in:
parent
75c25fa182
commit
e5fa19ea2d
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ library/userland functions"
|
||||||
(defun +emacs-lisp-lookup-documentation (thing)
|
(defun +emacs-lisp-lookup-documentation (thing)
|
||||||
"Lookup THING with `helpful-variable' if it's a variable, `helpful-callable'
|
"Lookup THING with `helpful-variable' if it's a variable, `helpful-callable'
|
||||||
if it's callable, `apropos' otherwise."
|
if it's callable, `apropos' otherwise."
|
||||||
(cond ((when-let (module (+emacs-lisp--module-at-point thing))
|
(cond ((when-let (module (+emacs-lisp--module-at-point))
|
||||||
(doom/help-modules (car module) (cadr module))
|
(doom/help-modules (car module) (cadr module))
|
||||||
(when (eq major-mode 'org-mode)
|
(when (eq major-mode 'org-mode)
|
||||||
(with-demoted-errors "%s"
|
(with-demoted-errors "%s"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue