From 94f59f5b31130680eb42818a2b08ab9c13a4f847 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 2 Nov 2023 20:44:47 +0100 Subject: [PATCH] Emacs: Update function name --- .config/emacs/site-lisp/dot-org-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/emacs/site-lisp/dot-org-mode.el b/.config/emacs/site-lisp/dot-org-mode.el index 2aab2b8..317aa30 100644 --- a/.config/emacs/site-lisp/dot-org-mode.el +++ b/.config/emacs/site-lisp/dot-org-mode.el @@ -78,8 +78,8 @@ When ANYWHERE is non-nil, search beyond the preamble." t) (point))))) - (defun dot/org-set-file-time-property (property value) - "Set the file time PROPERTY in the preamble." + (defun dot/org-set-file-property (property value) + "Set the file PROPERTY in the preamble." (when-let ((pos (dot/org-find-file-property property))) (save-excursion (goto-char pos) @@ -92,8 +92,8 @@ When ANYWHERE is non-nil, search beyond the preamble." (defun dot/org-set-last-modified () "Update the LAST_MODIFIED file property in the preamble." (when (derived-mode-p 'org-mode) - (dot/org-set-file-time-property "LAST_MODIFIED" - (format-time-string "[%Y-%m-%d %a %H:%M]"))))))) + (dot/org-set-file-property "LAST_MODIFIED" + (format-time-string "[%Y-%m-%d %a %H:%M]"))))))) ;; Org agenda.