mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Autoupdate pwd in scratch buffers
This commit is contained in:
@ -257,7 +257,7 @@ Examples:
|
|||||||
(let ((dir (or dir (narf/project-root))))
|
(let ((dir (or dir (narf/project-root))))
|
||||||
(with-current-buffer (get-buffer-create "*scratch*")
|
(with-current-buffer (get-buffer-create "*scratch*")
|
||||||
(setq default-directory dir)
|
(setq default-directory dir)
|
||||||
(setq header-line-format '(:eval (concat " ∴ " default-directory))))))
|
(setq header-line-format '(:eval (concat " ∴ " (abbreviate-file-name default-directory)))))))
|
||||||
|
|
||||||
|
|
||||||
;;;; Global Defuns ;;;;;;;;;;;;;;;;;;;;;
|
;;;; Global Defuns ;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
Reference in New Issue
Block a user