aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/eselect-mode.el')
-rw-r--r--misc/eselect-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/eselect-mode.el b/misc/eselect-mode.el
index d6fc68e..6ffa88f 100644
--- a/misc/eselect-mode.el
+++ b/misc/eselect-mode.el
@@ -131,6 +131,8 @@
(replace-match (concat "\\1-" year) t nil nil 1)))))))))
(defun eselect-mode-before-save ()
+ "Function to be called before saving a buffer.
+This will be added to the `write-contents-functions' hook."
(when eselect-mode-fix-whitespace
(delete-trailing-whitespace))
(when eselect-mode-update-copyright