aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-11-05 18:31:24 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-05 18:31:24 +0100
commit88eb5c77a9aa08a1e69bc41aea73c78e8e7a26f4 (patch)
treedb46411a78245b1e8d9d71ec81ad61cd4adcca18
parenteselect-mode: Use #' for quoting of function names (diff)
downloadeselect-88eb5c77a9aa08a1e69bc41aea73c78e8e7a26f4.tar.gz
eselect-88eb5c77a9aa08a1e69bc41aea73c78e8e7a26f4.tar.bz2
eselect-88eb5c77a9aa08a1e69bc41aea73c78e8e7a26f4.zip
eselect-mode: Doc fix
* misc/eselect-mode.el: Doc fix. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ChangeLog4
-rw-r--r--misc/eselect-mode.el2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c0fe120..da11122 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-05 Ulrich Müller <ulm@gentoo.org>
+
+ * misc/eselect-mode.el: Doc fix.
+
2023-10-06 Ulrich Müller <ulm@gentoo.org>
* misc/eselect-mode.el (eselect-mode, eselect-mode-hook):
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