>From address@hidden Fri Apr 15 23:10:11 2016 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH] Use customize option `TeX-region' instead of "_region_" X-Mercurial-Node: 438e412450b5f16bd3cf390ce69589b828fe75b2 X-Mercurial-Series-Index: 1 X-Mercurial-Series-Total: 1 Message-Id: X-Mercurial-Series-Id: User-Agent: Mercurial-patchbomb/3.7.3 Date: Fri, 15 Apr 2016 23:10:10 +0900 From: Ikumi Keita To: dummy * tex-buf.el (TeX-output-revert-buffer): Use customize option `TeX-region' instead of string literal "_region_". diff --git a/tex-buf.el b/tex-buf.el --- a/tex-buf.el +++ b/tex-buf.el @@ -3677,7 +3677,7 @@ (let ((name (match-string 1)) (file (match-string 2))) (with-current-buffer TeX-command-buffer - (TeX-command name (if (string-match "_region_" file) + (TeX-command name (if (string-match TeX-region file) #'TeX-region-file #'TeX-master-file)))) (error "Unable to find what command to run")))