Fix typo in +hlissner/yank-buffer-filename
This commit is contained in:
parent
bbdbe2f9fd
commit
35a287c58b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ private/hlissner/snippets."
|
|||
"Copy the current buffer's path to the kill ring."
|
||||
(interactive)
|
||||
(if-let (filename (or buffer-file-name (bound-and-true-p list-buffers-directory)))
|
||||
(message (kill-new (abbreviate-file-name file-name)))
|
||||
(message (kill-new (abbreviate-file-name filename)))
|
||||
(error "Couldn't find filename in current buffer")))
|
||||
|
||||
(defmacro +hlissner-def-finder! (name dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue