diff options
author | Kyle Meyer <kyle@kyleam.com> | 2023-01-02 14:44:03 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2024-01-22 00:02:53 -0500 |
commit | 41c010aece26def1e6053c6198719640f98c1a20 (patch) | |
tree | 6ab87bf0591ed4e6f90ccd9f79110f93666bc633 | |
parent | b84bc7bbda42a47d787a5ebf47275157185c9cbe (diff) | |
download | emacs.d-41c010aece26def1e6053c6198719640f98c1a20.tar.gz |
denote: Wire up denote-dired-mode-in-directories
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1722,7 +1722,11 @@ ("C-c d f" . km/find-file-with-denote-naming)) :config (setq denote-directory (expand-file-name "~/notes")) - (setq denote-file-type 'text)) + (setq denote-dired-directories (list denote-directory)) + (setq denote-file-type 'text) + + (with-eval-after-load 'dired + (add-hook 'dired-mode-hook #'denote-dired-mode-in-directories))) ;;; Language modes |