Minor refactors & reformatting
This commit is contained in:
parent
7b5baf319b
commit
f604ce6d01
6 changed files with 15 additions and 19 deletions
|
@ -13,7 +13,6 @@
|
|||
- [[#configuration][Configuration]]
|
||||
- [[#change-the-location-of-configorg][Change the location of config.org]]
|
||||
- [[#change-where-src-blocks-are-tangled-or-prevent-it-entirely][Change where src blocks are tangled or prevent it entirely]]
|
||||
- [[#modularizing-your-literate-config-with-include-directives][Modularizing your literate config with ~#+INCLUDE~ directives]]
|
||||
- [[#troubleshooting][Troubleshooting]]
|
||||
- [[#how-to-tangle-to-doomdirinitel][How to tangle to =DOOMDIR/init.el=]]
|
||||
- [[#how-to-disable-tangle-on-save][How to disable tangle-on-save]]
|
||||
|
|
|
@ -74,7 +74,7 @@ capture, the end position, and the output buffer.")
|
|||
|
||||
;; HACK Prevent mis-fontification of YAML metadata blocks in `markdown-mode'
|
||||
;; which occurs when the first line contains a colon in it. See
|
||||
;; https://github.com/jrblevin/markdown-mode/issues/328.
|
||||
;; jrblevin/markdown-mode#328.
|
||||
(defadvice! +markdown-disable-front-matter-fontification-a (&rest _)
|
||||
:override #'markdown-match-generic-metadata
|
||||
(ignore (goto-char (point-max))))
|
||||
|
|
|
@ -28,11 +28,7 @@
|
|||
(fundamental-mode)
|
||||
(message "Viewing PDFs in Emacs requires epdfinfo. Use `M-x pdf-tools-install' to build it")))
|
||||
|
||||
(when (memq 'pdf-occur-global-minor-mode pdf-tools-enabled-modes)
|
||||
(pdf-occur-global-minor-mode 1))
|
||||
(when (memq 'pdf-virtual-global-minor-mode pdf-tools-enabled-modes)
|
||||
(pdf-virtual-global-minor-mode 1))
|
||||
(add-hook 'pdf-view-mode-hook 'pdf-tools-enable-minor-modes)
|
||||
(pdf-tools-install-noverify)
|
||||
|
||||
;; For consistency with other special modes
|
||||
(map! :map pdf-view-mode-map :gn "q" #'kill-current-buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue