lang/emacs-lisp: fix wrong-num-args error on doc lookup

This commit is contained in:
Henrik Lissner 2019-12-27 04:44:20 -05:00
parent 75c25fa182
commit e5fa19ea2d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -109,7 +109,7 @@ library/userland functions"
(defun +emacs-lisp-lookup-documentation (thing)
"Lookup THING with `helpful-variable' if it's a variable, `helpful-callable'
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))
(when (eq major-mode 'org-mode)
(with-demoted-errors "%s"