Fix: (org-ql-view--font-lock-as-org) Mark buffer as not modified
Mark the ` *org-ql-view--font-lock-as-org*' buffer as not modified to prevent Emacs from prompting the user to save it.
This commit is contained in:
parent
b6f8a315e9
commit
667ea90079
1 changed files with 2 additions and 1 deletions
|
|
@ -542,7 +542,8 @@ with human-readable strings."
|
||||||
(insert s)
|
(insert s)
|
||||||
(font-lock-ensure)
|
(font-lock-ensure)
|
||||||
(prog1 (buffer-string)
|
(prog1 (buffer-string)
|
||||||
(erase-buffer)))))
|
(erase-buffer)
|
||||||
|
(set-buffer-modified-p nil)))))
|
||||||
|
|
||||||
(defun org-ql-view--buffer (&optional name)
|
(defun org-ql-view--buffer (&optional name)
|
||||||
"Return `org-ql-view' buffer, creating it if necessary.
|
"Return `org-ql-view' buffer, creating it if necessary.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue