Fix: (org-ql-view-refresh) Rename buffer uniquely
This is sort of a workaround or preventative measure as much as it is a fix. It seemed to be necessary when I was testing bookmark loading in org-sidebar.
This commit is contained in:
parent
f88fb549a3
commit
94be07244c
1 changed files with 3 additions and 1 deletions
|
|
@ -332,7 +332,9 @@ update search arguments."
|
|||
;; Now in the results buffer.
|
||||
(rename-buffer (format "%s %s*"
|
||||
org-ql-view-buffer-name-prefix
|
||||
(or org-ql-view-title org-ql-view-query)))
|
||||
(or org-ql-view-title org-ql-view-query))
|
||||
;; Avoid any errors in case a buffer by this name already exists.
|
||||
'unique)
|
||||
(goto-char (point-min))
|
||||
(or (when (search-forward current-line nil t)
|
||||
(beginning-of-line))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue