Skip to content

Commit

Permalink
Simplify conditional
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Purcell <steve@sanityinc.com>
  • Loading branch information
sellout and purcell authored Aug 6, 2024
1 parent 6f86411 commit 6a541d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envrc.el
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ set to nil, which disables the lighter."
(put 'envrc-lighter-function 'risky-local-variable t)

(defcustom envrc-lighter
'(:eval (unless (null envrc-lighter-function)
'(:eval (when envrc-lighter-function
(funcall envrc-lighter-function envrc--status)))
"The mode line lighter for `envrc-mode'.
You can set this to nil to disable the lighter."
Expand Down

0 comments on commit 6a541d0

Please sign in to comment.