Clean up defuns
This commit is contained in:
parent
c51ca7d7f4
commit
9281a9b985
2 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; defuns-compile.el
|
;;; defuns-compile.el
|
||||||
|
|
||||||
(! (require 'f))
|
(eval-when-compile (require 'f))
|
||||||
|
|
||||||
(defun narf--compile-important-dirs ()
|
(defun narf--compile-important-dirs ()
|
||||||
(append (list narf-core-dir narf-contrib-dir)
|
(append (list narf-core-dir narf-contrib-dir)
|
||||||
|
|
|
@ -160,7 +160,6 @@ spaces on either side of the point if so. Resorts to
|
||||||
(if (memq 'delete-trailing-whitespace before-save-hook)
|
(if (memq 'delete-trailing-whitespace before-save-hook)
|
||||||
(progn (message "Remove trailing whitespace: OFF")
|
(progn (message "Remove trailing whitespace: OFF")
|
||||||
(remove-hook 'before-save-hook 'delete-trailing-whitespace))
|
(remove-hook 'before-save-hook 'delete-trailing-whitespace))
|
||||||
|
|
||||||
(message "Remove trailing whitespace: ON")
|
(message "Remove trailing whitespace: ON")
|
||||||
(add-hook 'before-save-hook 'delete-trailing-whitespace)))
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue