aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-editing.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-editing.el')
-rw-r--r--emacs/.emacs.d/init/ycp-editing.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el
index bddd955..351fe2e 100644
--- a/emacs/.emacs.d/init/ycp-editing.el
+++ b/emacs/.emacs.d/init/ycp-editing.el
@@ -138,7 +138,9 @@
(add-to-list
'auto-mode-alist
'("\\(README\\|CHANGELOG\\|COPYING\\|LICENSE\\)\\'" . text-mode))
-(add-hook 'before-save-hook 'time-stamp)
+;; https://lists.gnu.org/archive/html/emacs-devel/2023-06/msg00113.html
+(when (string< emacs-version "29")
+ (add-hook 'before-save-hook 'time-stamp))
(save-place-mode 1)