Add adoc-mode and outline-minor-mode
This commit is contained in:
parent
a5feb7de11
commit
2ec4f7cadf
21
init.org
21
init.org
|
@ -2365,12 +2365,20 @@ SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor
|
||||||
("M-c" . git-commit-prev-message)
|
("M-c" . git-commit-prev-message)
|
||||||
("M-r" . git-commit-next-message)))
|
("M-r" . git-commit-next-message)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** mediawiki-mode
|
** markup
|
||||||
|
*** mediawiki-mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package mediawiki
|
(use-package mediawiki
|
||||||
:commands mediawiki-mode)
|
:commands mediawiki-mode)
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** asciidoc-mode
|
||||||
|
Used by Eldev documentation.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package adoc-mode
|
||||||
|
:mode "\\.adoc$")
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** midnight-mode
|
** midnight-mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package midnight
|
(use-package midnight
|
||||||
|
@ -2905,6 +2913,17 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
|
||||||
:commands (wgrep-change-to-wgrep-mode))
|
:commands (wgrep-change-to-wgrep-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** outline-minor-mode
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package outline
|
||||||
|
:hook (asciidoc-mode . outline-minor-mode)
|
||||||
|
:bind (:map outline-minor-mode-map
|
||||||
|
("TAB" . outline-toggle-children)
|
||||||
|
;; this (rather than `outline-show-children') seems to
|
||||||
|
;; be the equivalent of `org-show-subtree'
|
||||||
|
("C-c C-k" . outline-show-branches)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** custom.el
|
** custom.el
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
(setq custom-file "~/.emacs.d/custom.el")
|
||||||
|
|
Loading…
Reference in New Issue