mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: clarify the prot-simple-copy-current-path docstring about buffer-file-name
This commit is contained in:
parent
674a110740
commit
ef98eaa3d4
|
|
@ -18680,8 +18680,8 @@ buffers in its history."
|
|||
;;;###autoload
|
||||
(defun prot-simple-copy-current-path ()
|
||||
"Copy the current absolute path.
|
||||
If in a file-visiting buffer, copy the `buffer-file-name'. Else copy
|
||||
the `default-directory'."
|
||||
If in a file-visiting buffer, copy the variable `buffer-file-name'.
|
||||
Else copy the `default-directory'."
|
||||
(declare (interactive-only t))
|
||||
(interactive)
|
||||
(let ((path (or buffer-file-name default-directory)))
|
||||
|
|
|
|||
|
|
@ -937,8 +937,8 @@ buffers in its history."
|
|||
;;;###autoload
|
||||
(defun prot-simple-copy-current-path ()
|
||||
"Copy the current absolute path.
|
||||
If in a file-visiting buffer, copy the `buffer-file-name'. Else copy
|
||||
the `default-directory'."
|
||||
If in a file-visiting buffer, copy the variable `buffer-file-name'.
|
||||
Else copy the `default-directory'."
|
||||
(declare (interactive-only t))
|
||||
(interactive)
|
||||
(let ((path (or buffer-file-name default-directory)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue