Store outline settings in directory instead of file
This commit is contained in:
parent
6c3042724b
commit
a3c0e67add
3 changed files with 16 additions and 12 deletions
16
.dir-locals.el
Normal file
16
.dir-locals.el
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
;;; Directory Local Variables
|
||||||
|
;;; For more information see (info "(emacs) Directory Variables")
|
||||||
|
|
||||||
|
((emacs-lisp-mode
|
||||||
|
(eval outline-minor-mode 1)
|
||||||
|
(outline-heading-end-regexp . ":\n")
|
||||||
|
(outline-regexp . ";;;+ [^\n]"))
|
||||||
|
(sh-mode
|
||||||
|
(eval outline-minor-mode 1)
|
||||||
|
(outline-heading-end-regexp . ":\n")
|
||||||
|
(outline-regexp . "##+")))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -105,9 +105,3 @@ This is currently the data directory under the
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
||||||
;;; Local Variables:
|
|
||||||
;;; eval: (outline-minor-mode 1)
|
|
||||||
;;; outline-regexp: ";;;+ [^\n]"
|
|
||||||
;;; outline-heading-end-regexp: ":\n"
|
|
||||||
;;; End:
|
|
||||||
|
|
|
@ -3,9 +3,3 @@
|
||||||
# personal utilities and helper commands.
|
# personal utilities and helper commands.
|
||||||
PATH="${HOME}/usr/bin:${PATH}"
|
PATH="${HOME}/usr/bin:${PATH}"
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
## Local Variables:
|
|
||||||
## eval: (outline-minor-mode 1)
|
|
||||||
## outline-regexp: "##+"
|
|
||||||
## outline-heading-end-regexp: ":\n"
|
|
||||||
## End:
|
|
||||||
|
|
Loading…
Reference in a new issue