confirmation message for org-ql-view-refresh
In keeping with the message displayed by `g` when refreshing an org-agenda buffer - if nothing has changed in an `org-ql` buffer it can sometimes be difficult to determine if the refresh took place at all.
This commit is contained in:
parent
70a1acde93
commit
fc37e3f146
1 changed files with 4 additions and 1 deletions
|
|
@ -299,7 +299,10 @@ update search arguments."
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(or (when (search-forward current-line nil t)
|
(or (when (search-forward current-line nil t)
|
||||||
(beginning-of-line))
|
(beginning-of-line))
|
||||||
(goto-char old-pos))))
|
(goto-char old-pos))
|
||||||
|
(message "org-ql: view refreshed%s"
|
||||||
|
(when org-ql-view-title
|
||||||
|
(concat ": " (substring-no-properties org-ql-view-title))))))
|
||||||
|
|
||||||
(defun org-ql-view-save ()
|
(defun org-ql-view-save ()
|
||||||
"Save current `org-ql-search' buffer to `org-ql-views'."
|
"Save current `org-ql-search' buffer to `org-ql-views'."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue