From 3c801f30d4cc083ec243c3e5aaa573248064541a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 19 Aug 2015 13:28:02 -0700 Subject: [PATCH] enable deft automatic file naming --- dotfiles/emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 767d5ac5..8468e114 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1155,6 +1155,10 @@ the same tree node, and the headline of the tree node in the Org-mode file." :config (progn (setq deft-extensions '("org")) + (setq deft-use-filter-string-for-filename t) + (setq deft-file-naming-rules '((noslash . "_") + (nospace . "_") + (case-fn . downcase))) (setq deft-directory "~/Dropbox (Personal)/org/notes"))) (use-package epg