[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex e783b97 04/48: Fix TeX-dwim-master
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex e783b97 04/48: Fix TeX-dwim-master |
Date: |
Sun, 16 Sep 2018 01:47:20 -0400 (EDT) |
branch: externals/auctex
commit e783b973e9c367d1ab31ca07bc31a0b19c110f28
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>
Fix TeX-dwim-master
* tex.el (TeX-dwim-master): `cl-return' is much easier to work with if
we're alerady using cl- functions, so convert `dolist' to `cl-loop.'
Signed-off-by: Ikumi Keita <address@hidden>
---
tex.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tex.el b/tex.el
index 51480d0..83d360a 100644
--- a/tex.el
+++ b/tex.el
@@ -2391,11 +2391,12 @@ this variable to \"<none>\"."
(defun TeX-dwim-master ()
"Find a likely `TeX-master'."
(let ((dir default-directory))
- (dolist (buf (buffer-list))
- (when (with-current-buffer buf
- (and (equal dir default-directory)
- (stringp TeX-master)))
- (cl-return (with-current-buffer buf TeX-master))))))
+ (cl-loop for buf in (buffer-list)
+ until
+ (when (with-current-buffer buf
+ (and (equal dir default-directory)
+ (stringp TeX-master)))
+ (cl-return (with-current-buffer buf TeX-master))))))
(defun TeX-master-file-ask ()
"Ask for master file, set `TeX-master' and add local variables."
- [elpa] externals/auctex updated (0e878e9 -> f761ab4), Tassilo Horn, 2018/09/16
- [elpa] externals/auctex f107ca1 02/48: Make compatible with emacs 24, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex cff0781 01/48: Fix incorrect FSF address, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex e783b97 04/48: Fix TeX-dwim-master,
Tassilo Horn <=
- [elpa] externals/auctex 6112351 12/48: ; * style/geometry.el (LaTeX-geometry-preamble-key-val-options): Add luatex key., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 3b758bf 06/48: Use `TeX-search-files-by-type' to assist input \includegraphics, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a16a510 22/48: Replace another cl function with cl-lib, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 1a7b2bf 18/48: Adjust coding system for Japanese pTeX engine on w32, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 52d6a54 03/48: Make `TeX-clean' to work in ams-tex-mode, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 15d3d97 08/48: Quote %b expansion string for SumatraPDF, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 68095a3 15/48: Fix previous removal of xemacs compatibility code, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 59fa964 05/48: Resolve conflict of argument spec between regexp and literal, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 94378c1 09/48: Correct record in changes.texi, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 00f0e0e 13/48: ; * tex.el (TeX-expand-list): Fix docstring (bug#31217)., Tassilo Horn, 2018/09/16