mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
core-editor (doom|unpropertize-savehist): add type test
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user