parent
79910fba42
commit
78f8026620
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ If no viewer is found, `latex-preview-pane-mode' is used.")
|
||||||
:hook (TeX-mode . +latex-TeX-fold-buffer-h)
|
:hook (TeX-mode . +latex-TeX-fold-buffer-h)
|
||||||
:hook (TeX-mode . TeX-fold-mode)
|
:hook (TeX-mode . TeX-fold-mode)
|
||||||
:config
|
:config
|
||||||
|
;; Reveal folds when moving cursor into them. This saves us the trouble of
|
||||||
|
;; having to whitelist all motion commands in `TeX-fold-auto-reveal-commands'.
|
||||||
|
(setq TeX-fold-auto-reveal t)
|
||||||
(defun +latex-TeX-fold-buffer-h ()
|
(defun +latex-TeX-fold-buffer-h ()
|
||||||
(run-with-idle-timer 0 nil 'TeX-fold-buffer))
|
(run-with-idle-timer 0 nil 'TeX-fold-buffer))
|
||||||
;; Fold after all AUCTeX macro insertions.
|
;; Fold after all AUCTeX macro insertions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue