aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorPo Lu2023-06-17 17:18:41 +0800
committerPo Lu2023-06-17 17:18:41 +0800
commitbf3bea4460418b82c6de4668659447118fb2de2b (patch)
tree49a9e86b83e03db77301e2601599c7b12ceab9cf /lisp/textmodes
parent797c30b7abc165d5ebe65474c7398ccad0e3023c (diff)
parentb51be64a715f9f00d3f413aff4ee8a10d30d2a04 (diff)
downloademacs-bf3bea4460418b82c6de4668659447118fb2de2b.tar.gz
emacs-bf3bea4460418b82c6de4668659447118fb2de2b.zip
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index fcb01fb6c08..294c9792f39 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -2025,7 +2025,7 @@ In the tex shell buffer this command behaves like `comint-send-input'."
2025 2025
2026(defun tex-display-shell () 2026(defun tex-display-shell ()
2027 "Make the TeX shell buffer visible in a window." 2027 "Make the TeX shell buffer visible in a window."
2028 (display-buffer (tex-shell-buf) display-comint-buffer-action) 2028 (display-buffer (tex-shell-buf) display-tex-shell-buffer-action)
2029 (tex-recenter-output-buffer nil)) 2029 (tex-recenter-output-buffer nil))
2030 2030
2031(defun tex-shell-sentinel (proc _msg) 2031(defun tex-shell-sentinel (proc _msg)
@@ -2426,7 +2426,7 @@ Only applies the FSPEC to the args part of FORMAT."
2426 (if cmds (tex-format-cmd (caar cmds) fspec)))))) 2426 (if cmds (tex-format-cmd (caar cmds) fspec))))))
2427 2427
2428(defun tex-cmd-doc-view (file) 2428(defun tex-cmd-doc-view (file)
2429 (pop-to-buffer (find-file-noselect file) display-comint-buffer-action)) 2429 (pop-to-buffer (find-file-noselect file)))
2430 2430
2431(defun tex-compile (dir cmd) 2431(defun tex-compile (dir cmd)
2432 "Run a command CMD on current TeX buffer's file in DIR." 2432 "Run a command CMD on current TeX buffer's file in DIR."
@@ -2681,7 +2681,7 @@ line LINE of the window, or centered if LINE is nil."
2681 (window)) 2681 (window))
2682 (if (null tex-shell) 2682 (if (null tex-shell)
2683 (message "No TeX output buffer") 2683 (message "No TeX output buffer")
2684 (setq window (display-buffer tex-shell display-comint-buffer-action)) 2684 (setq window (display-buffer tex-shell display-tex-shell-buffer-action))
2685 (with-selected-window window 2685 (with-selected-window window
2686 (bury-buffer tex-shell) 2686 (bury-buffer tex-shell)
2687 (goto-char (point-max)) 2687 (goto-char (point-max))