From 6afe3d4115e2111ce92a99eae9cf4fc968f34368 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 12 Mar 2019 11:25:48 -0400 Subject: [PATCH] Remove unneeded negation --- modules/lang/emacs-lisp/autoload.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index d96a87505..59847ec3d 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -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)))