Emacs: Refactor my/no-ws-cleanup.
This commit is contained in:
parent
fb639bfab1
commit
6faf976d67
|
@ -280,9 +280,8 @@
|
|||
(whitespace-mode)
|
||||
)
|
||||
|
||||
(defvar my/no-ws-cleanup nil
|
||||
(defvar-local my/no-ws-cleanup nil
|
||||
"Do not cleanup whitespace if t.")
|
||||
(make-variable-buffer-local 'my/no-ws-cleanup)
|
||||
(put 'my/no-ws-cleanup 'safe-local-variable #'booleanp) ; Mark as safe.
|
||||
|
||||
(defun my/ws-maybe-cleanup ()
|
||||
|
|
Loading…
Reference in New Issue