(feat): Switch to a minor-mode for the dev-suite (#805)

* (feat): Switch to a minor-mode for the dev-suite

Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>

Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>
This commit is contained in:
Leo Vivier 2020-06-12 22:01:52 +02:00 committed by GitHub
parent eca07277ce
commit 2eb0aac88a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -3,4 +3,4 @@
((emacs-lisp-mode ((emacs-lisp-mode
(eval . (require 'org-roam-dev)) (eval . (require 'org-roam-dev))
(sentence-end-double-space . nil))) (eval . (org-roam-dev-mode))))

View file

@ -33,7 +33,14 @@
;; ;;
;;; Code: ;;; Code:
(require 'emacsql) (require 'emacsql)
(emacsql-fix-vector-indentation)
(provide 'org-roam-dev)
;;;###autoload
(define-minor-mode org-roam-dev-mode
"Minor mode for setting the dev environment of Org-roam."
:lighter " ORD"
(when org-roam-dev-mode
(emacsql-fix-vector-indentation)
(setq-local sentence-end-double-space nil)))
(provide 'org-roam-dev)
;;; org-roam-dev.el ends here ;;; org-roam-dev.el ends here