emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult ac1a1dc7bf 2/4: Expand comment


From: ELPA Syncer
Subject: [elpa] externals/consult ac1a1dc7bf 2/4: Expand comment
Date: Thu, 1 Sep 2022 14:57:27 -0400 (EDT)

branch: externals/consult
commit ac1a1dc7bfde292427a29792f878b1bd839e1362
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Expand comment
---
 consult.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/consult.el b/consult.el
index eb47a7ddef..703ba1ea5f 100644
--- a/consult.el
+++ b/consult.el
@@ -1216,10 +1216,10 @@ ORIG is the original function, HOOKS the arguments."
                (unless (or (rassq buf temporary-buffers) (memq buf 
orig-buffers))
                  (add-hook 'window-selection-change-functions hook)
                  (push (cons name buf) temporary-buffers)
-                 ;; Disassociate buffer from file by setting
-                 ;; `buffer-file-name' to nil and rename the buffer.
-                 ;; This lets us open an already previewed buffer with
-                 ;; the Embark default action C-. RET.
+                 ;; Disassociate buffer from file by setting `buffer-file-name'
+                 ;; and `dired-directory' to nil and rename the buffer. This
+                 ;; lets us open an already previewed buffer with the Embark
+                 ;; default action C-. RET.
                  (with-current-buffer buf
                    (rename-buffer
                     (format "Preview:%s"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]