Tweak sample config for denote-dired-mode

This commit is contained in:
Protesilaos Stavrou 2022-06-20 08:17:23 +03:00
parent 966fedf1f6
commit fbe743ad6f
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -1295,12 +1295,12 @@ Everything is in place to set up the package.
(setq denote-dired-directories
(list denote-directory
(thread-last denote-directory (expand-file-name "attachments"))
(expand-file-name "~/Documents/vlog")))
(expand-file-name "~/Documents/books")))
;; Generic:
;; Generic (great if you rename files Denote-style in lots of places):
;; (add-hook 'dired-mode-hook #'denote-dired-mode)
;;
;; OR better:
;; OR if only want it in `denote-dired-directories':
(add-hook 'dired-mode-hook #'denote-dired-mode-in-directories)
;; Here is a custom, user-level command from one of the examples we