From 5c8d6993e082b129558c08873efeed9062375568 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Feb 2017 12:04:51 -0500 Subject: [PATCH] core-editor (doom|unpropertize-savehist): add type test --- core/core-editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-editor.el b/core/core-editor.el index 3688d2991..5d26a8945 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -51,7 +51,7 @@ ;; Remove text-property cruft from history (defun doom|unpropertize-savehist () (mapc (lambda (sym) - (when (boundp sym) + (when (and (boundp sym) (listp (symbol-value sym))) (setf (symbol-value sym) (mapcar 'substring-no-properties (symbol-value sym))))) '(kill-ring minibuffer-history helm-grep-history helm-ff-history file-name-history read-expression-history extended-command-history