dev: merging from master:
This commit is contained in:
commit
9cc792dd3a
8 changed files with 119 additions and 34 deletions
|
@ -128,7 +128,18 @@ If no viewer is found, `latex-preview-pane-mode' is used.")
|
|||
:desc "View" "v" #'TeX-view
|
||||
:desc "Compile" "c" #'+latex/compile
|
||||
:desc "Run all" "a" #'TeX-command-run-all
|
||||
:desc "Run a command" "m" #'TeX-command-master))
|
||||
:desc "Run a command" "m" #'TeX-command-master)
|
||||
|
||||
;; HACK: The standard LaTeXMk command uses `TeX-run-format', which doesn't
|
||||
;; trigger `TeX-after-compilation-finished-functions', so swap it out for
|
||||
;; `TeX-run-TeX', which does.
|
||||
(defadvice! +latex--run-after-compilation-finished-functions-a (&rest args)
|
||||
:after #'TeX-TeX-sentinel
|
||||
(unless (TeX-error-report-has-errors-p)
|
||||
(run-hook-with-args 'TeX-after-compilation-finished-functions
|
||||
(with-current-buffer TeX-command-buffer
|
||||
(expand-file-name
|
||||
(TeX-active-master (TeX-output-extension))))))))
|
||||
|
||||
|
||||
(use-package! tex-fold
|
||||
|
|
|
@ -16,7 +16,7 @@ non-nil, the mode will not be activated."
|
|||
(use-package! highlight-indent-guides
|
||||
:hook ((prog-mode text-mode conf-mode) . +indent-guides-init-maybe-h)
|
||||
:init
|
||||
(setq highlight-indent-guides-method (if (display-graphic-p) 'bitmap 'character)
|
||||
(setq highlight-indent-guides-method 'character
|
||||
highlight-indent-guides-bitmap-function #'highlight-indent-guides--bitmap-line)
|
||||
|
||||
(defun +indent-guides-init-maybe-h ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue