summaryrefslogtreecommitdiff
path: root/.emacs.d/initlibs
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-17 08:23:51 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-17 08:23:51 -0700
commit45af8e308aacbcbb13cdffa53c72caa321da061f (patch)
treebf5b1278eafb15c42d2ed5fac55f882b62851fdc /.emacs.d/initlibs
parentd940ff3b7b5362b90b20914556e6ca2aa53cbd2a (diff)
downloaddotfiles-45af8e308aacbcbb13cdffa53c72caa321da061f.tar.gz
fix initlibs copy of smex.el using upstream commit
Diffstat (limited to '.emacs.d/initlibs')
-rw-r--r--.emacs.d/initlibs/smex.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/initlibs/smex.el b/.emacs.d/initlibs/smex.el
index 36d5b2e4..74d3b8c0 100644
--- a/.emacs.d/initlibs/smex.el
+++ b/.emacs.d/initlibs/smex.el
@@ -240,8 +240,8 @@ Set this to nil to disable fuzzy matching."
(error (if (smex-save-file-not-empty-p)
(error "Invalid data in smex-save-file (%s). Can't restore history."
smex-save-file)
- (if (not (boundp 'smex-history)) (setq smex-history))
- (if (not (boundp 'smex-data)) (setq smex-data))))))
+ (unless (boundp 'smex-history) (setq smex-history nil))
+ (unless (boundp 'smex-data) (setq smex-data nil))))))
(setq smex-history nil smex-data nil))))
(defsubst smex-save-file-not-empty-p ()