dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit f8f6547253d0e8a9a49713ec027ac79998457ba4
parent fc46637426d8e19c9a22d49fd10e58c08259ee85
Author: Gabriel G. de Brito <gabrielgbrito@icloud.com>
Date:   Mon, 31 Mar 2025 09:49:03 -0300

Make Emacs stay in cwd

Diffstat:
Memacs/init.el | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -85,6 +85,9 @@ (global-set-key (kbd "C-c C-?") #'xref-find-references) (global-set-key (kbd "C-c C-b") #'flymake-show-buffer-diagnostics) +(add-hook 'find-file-hook + (lambda () (setq default-directory command-line-default-directory))) + ;; ;; Editing. ;;