Remove unneeded negation

This commit is contained in:
Henrik Lissner 2019-03-12 11:25:48 -04:00 committed by GitHub
parent ff89a5f645
commit 6afe3d4115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,6 +128,6 @@ 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."
(if (not thing)
(call-interactively #'doom/describe-symbol)
(doom/describe-symbol thing)))
(if thing
(doom/describe-symbol thing)
(call-interactively #'doom/describe-symbol)))