[Bugfix] Fix variable name in gpolonkai/save-killed-buffer-filename
This commit is contained in:
parent
cf216711e6
commit
518a1a7ac6
@ -498,7 +498,7 @@ Used by `gpolonkai/save-killed-buffer-filename' and `gpolonkai/undo-buffer-kill'
|
|||||||
"Save the filename of the killed buffer in `gpolonkai/last-killed-buffer-file-name'."
|
"Save the filename of the killed buffer in `gpolonkai/last-killed-buffer-file-name'."
|
||||||
(let ((filename (buffer-file-name)))
|
(let ((filename (buffer-file-name)))
|
||||||
(unless filename
|
(unless filename
|
||||||
(setq gpolonkai/last-killed-bufer-file-name (buffer-file-name)))))
|
(setq gpolonkai/last-killed-buffer-file-name (buffer-file-name)))))
|
||||||
|
|
||||||
(add-hook 'kill-buffer-hook 'gpolonkai/save-killed-buffer-filename)
|
(add-hook 'kill-buffer-hook 'gpolonkai/save-killed-buffer-filename)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user