Link to doom-real-buffer-p in other real buffer functions

To make the explanation easier to find.
This commit is contained in:
Henrik Lissner 2020-02-22 18:31:10 -05:00
parent 23d6ec70db
commit 65a71d5647
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -195,7 +195,9 @@ If DERIVED-P, test with `derived-mode-p', otherwise use `eq'."
;;;###autoload ;;;###autoload
(defun doom-set-buffer-real (buffer flag) (defun doom-set-buffer-real (buffer flag)
"Forcibly mark BUFFER as FLAG (non-nil = real)." "Forcibly mark BUFFER as FLAG (non-nil = real).
See `doom-real-buffer-p' for an explanation for real buffers."
(with-current-buffer buffer (with-current-buffer buffer
(setq doom-real-buffer-p flag))) (setq doom-real-buffer-p flag)))
@ -251,7 +253,9 @@ regex PATTERN. Returns the number of killed buffers."
;;;###autoload ;;;###autoload
(defun doom-mark-buffer-as-real-h () (defun doom-mark-buffer-as-real-h ()
"Hook function that marks the current buffer as real." "Hook function that marks the current buffer as real.
See `doom-real-buffer-p' for an explanation for real buffers."
(doom-set-buffer-real (current-buffer) t)) (doom-set-buffer-real (current-buffer) t))