mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
Clean up defuns
This commit is contained in:
@@ -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)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user