Skip to content

Commit b0dcadc

Browse files
committed
tweak: rename +yank-this-file-name to +copy-this-file-name
1 parent 9ece678 commit b0dcadc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/me-lib-extra.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ RECURSIVE is non-nil."
306306
(user-error "Unable to open %S" (abbreviate-file-name file))))
307307

308308
;;;###autoload
309-
(defun +yank-this-file-name ()
310-
"Yank the file name of this buffer."
309+
(defun +copy-this-file-name ()
310+
"Save (copy) the file name of this buffer to the kill ring."
311311
(interactive)
312312
(if-let ((file (buffer-file-name)))
313313
(with-temp-buffer

core/me-loaddefs.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ Open FILE as root.
432432
Open the current file as root." t)
433433
(autoload '+sudo-save-buffer "me-lib-extra" "\
434434
Save this buffer as root. Save as new file name if called with prefix." t)
435-
(autoload '+yank-this-file-name "me-lib-extra" "\
436-
Yank the file name of this buffer." t)
435+
(autoload '+copy-this-file-name "me-lib-extra" "\
436+
Save (copy) the file name of this buffer to the kill ring." t)
437437
(autoload '+clean-file-name "me-lib-extra" "\
438438
Clean FILENAME, optionally convert to DOWNCASE-P.
439439
@@ -927,7 +927,7 @@ mode if ARG is nil, omitted, or is a positive number. Disable the mode
927927
if ARG is a negative number.
928928
929929
To check whether the minor mode is enabled in the current buffer,
930-
evaluate the variable `+writing-mode'.
930+
evaluate `+writing-mode'.
931931
932932
The mode's hook is called both when the mode is enabled and when it is
933933
disabled.

0 commit comments

Comments
 (0)