General & minor refactoring

This commit is contained in:
Henrik Lissner 2018-08-28 13:36:44 +02:00
parent ed0cbc1323
commit 2b560a6a0e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 30 additions and 29 deletions

View file

@ -236,7 +236,7 @@ savehist file."
(advice-add #'undo-tree-make-history-save-file-name :filter-return
#'doom*undo-tree-make-history-save-file-name)
(defun doom*strip-text-properties-from-undo-history (&rest args)
(defun doom*strip-text-properties-from-undo-history (&rest _)
(dolist (item buffer-undo-list)
(and (consp item)
(stringp (car item))