branch: externals/denote-review
commit e6acc9d6c4de77948382ac1e6c622e5ea5c01409
Author: Matto Fransen <[email protected]>
Commit: Matto Fransen <[email protected]>
incorrect name in fileheader
---
denote-review.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/denote-review.el b/denote-review.el
index 341d0e97f5..11e67143e2 100644
--- a/denote-review.el
+++ b/denote-review.el
@@ -1,4 +1,4 @@
-;;; denote-review --- implements review process for denote notes -*-
lexical-binding: t; -*-
+;;; denote-review.el --- implements review process for denote notes -*-
lexical-binding: t; -*-
;; Copyright (C) 2026 Free Software Foundation, Inc.
@@ -109,18 +109,18 @@ INSERT-REGEXP is regepx to search for appropriate insert
location."
(insert (denote-review-insert-reviewdate-line mydate))))
(defun denote-review-set-date ()
-"Set the reviewdate in the current buffer.
+ "Set the reviewdate in the current buffer.
Replace an existing reviewdate."
-(interactive)
-(save-excursion
- (goto-char (point-min))
- (if (re-search-forward (denote-review-search-regexp-for-filetype)
- denote-review-max-search-point t)
- (replace-match
- (denote-review-insert-reviewdate-line (format-time-string "%F")))
- (denote-review-insert-date
- nil
- (denote-review-insert-regexp-location-for-filetype)))))
+ (interactive)
+ (save-excursion
+ (goto-char (point-min))
+ (if (re-search-forward (denote-review-search-regexp-for-filetype)
+ denote-review-max-search-point t)
+ (replace-match
+ (denote-review-insert-reviewdate-line (format-time-string "%F")))
+ (denote-review-insert-date
+ nil
+ (denote-review-insert-regexp-location-for-filetype)))))
(defun denote-review-get-date (search-regexp)
"Get the reviewdate from current buffer.