[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 36655f6a5e 24/60: Revert "Fix sim
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 36655f6a5e 24/60: Revert "Fix simultaneity" |
Date: |
Fri, 8 Apr 2022 11:52:49 -0400 (EDT) |
branch: externals/auctex
commit 36655f6a5ed9ffc6552e1cab6f7a8b021b8ad7ca
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Revert "Fix simultaneity"
This reverts commit e032df90e792ef9b85be3e8e3528c947ecdb5b6a
because it breaks region preview.
* tex-buf.el (TeX-current-process-region-p):
(TeX-command, TeX-command-sentinel):
Revert.
---
tex-buf.el | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index f5a2d22eb7..eeff2fc06c 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -285,6 +285,7 @@ at bottom if LINE is nil."
;; far down (i.e. further down than their first use), so we have to pre-declare
;; them here to explain it to the compiler.
;; We should move those vars's definitions earlier instead!
+(defvar TeX-current-process-region-p)
(defvar TeX-save-query)
(defvar TeX-parse-function)
(defvar TeX-sentinel-function)
@@ -486,11 +487,6 @@ Do you want to select one of these engines? "
:group 'TeX-command
:type 'integer)
-(defvar TeX-current-process-region-p nil
- "Non-nil means that the last TeX command is on a region.")
-(defvar-local TeX--this-process-region-flag nil
- "Per process value of `TeX-current-process-region-p'.")
-
(defun TeX-command (name file-fn &optional override-confirm)
"Run command NAME on the file returned by calling FILE-FN.
@@ -560,9 +556,7 @@ remember to add /Library/TeX/texbin/ to your PATH"
;; Now start the process
(let ((file (funcall file-fn)))
(TeX-process-set-variable file 'TeX-command-next TeX-command-Show)
- (funcall hook name command file)
- (TeX-process-set-variable file 'TeX--this-process-region-flag
- TeX-current-process-region-p))))
+ (funcall hook name command file))))
(defun TeX-command-expand (command &optional list)
"Expand COMMAND for `TeX-active-master' as described in LIST.
@@ -1459,8 +1453,8 @@ Insert MSG with some additional information."
(TeX-command-mode-line process)
(setq TeX-command-next TeX-command-Show)
(goto-char (point-min))
- (let ((TeX-current-process-region-p
TeX--this-process-region-flag))
- (funcall TeX-sentinel-function process name))
+ (apply TeX-sentinel-function process name nil)
+
;; If buffer and mode line will show that the process
;; is dead, we can delete it now. Otherwise it
@@ -2034,6 +2028,9 @@ command."
;;; Active Process
+(defvar TeX-current-process-region-p nil
+ "Non-nil means that the last TeX command is on a region.")
+
(defun TeX-active-process ()
"Return the active process for the current buffer."
(TeX-process (TeX-active-master)))
- [AUCTeX-diffs] [elpa] externals/auctex 0e0551126d 17/60: * doc/changes.texi: Document switch from initial input to default., (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 0e0551126d 17/60: * doc/changes.texi: Document switch from initial input to default., Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex ab3bfaf103 13/60: Don't use obsolete font-lock-syntactic-keywords, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 2be733a3e3 28/60: Add new style/l3doc.el, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex dff1592319 09/60: Adjust argument list of `TeX-arg-length', Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex c43d21326d 42/60: Follow similar update of latex.el in context.el, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex b2cea20056 53/60: ; Delete unnecessary quoting in docstrings, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 4e4c48556b 08/60: ; Trivial cleanup, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex b3d4a509d0 39/60: ; * doc/auctex.texi (Indenting): Fix wording., Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 4bcda2d50c 35/60: Improve indentation in env from algpseudocode package, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 1823017839 55/60: Wrap the 'function' environment better with %, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 36655f6a5e 24/60: Revert "Fix simultaneity",
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex fce8b94ca8 41/60: Update documentation with respect to indent, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 8938787491 37/60: ; * style/algpseudocode.el ("algpseudocode"): Fix "While"., Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex eb4e331bd6 51/60: Add news for new indent feature, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex a2724f3677 15/60: Don't set syntax-propertize-function in defaults, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex e83ca6a072 57/60: Update style/doc.el to package version 3.0h, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex f9356664c8 23/60: Update documentation, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 78cf12b33c 18/60: ; * doc/auctex.texi: Adjust the year in @copying., Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex c731038844 11/60: Improve regexp matching new environments, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 259ffc34c4 12/60: Use DEFAULT argument of `TeX-read-string' in styles, Tassilo Horn, 2022/04/08
- [AUCTeX-diffs] [elpa] externals/auctex 0ce906cfc7 32/60: Improve indentation of conditionals, Tassilo Horn, 2022/04/08