(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:
parent
eca07277ce
commit
2eb0aac88a
2 changed files with 10 additions and 3 deletions
|
@ -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))))
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue