emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex-cont-latexmk 6a9518e566 097/100: indentation, sw


From: ELPA Syncer
Subject: [elpa] externals/auctex-cont-latexmk 6a9518e566 097/100: indentation, swap cl for seq
Date: Thu, 6 Jun 2024 03:58:00 -0400 (EDT)

branch: externals/auctex-cont-latexmk
commit 6a9518e5668c49b929dfb817997d5b8419d4ede1
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>

    indentation, swap cl for seq
---
 auctex-cont-latexmk.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/auctex-cont-latexmk.el b/auctex-cont-latexmk.el
index 06fe1e1373..ee633e14e6 100644
--- a/auctex-cont-latexmk.el
+++ b/auctex-cont-latexmk.el
@@ -139,7 +139,8 @@ Adapted from `TeX-format-filter'"
                (not (memq (char-after (1+ (point))) '(?\n ?\()))
                (not (and (eq (char-before) ?.)
                          (char-after (1+ (point)))
-                         (not (eq ?w (char-syntax (char-after (1+ 
(point)))))))))
+                         (not (eq ?w (char-syntax
+                                      (char-after (1+ (point)))))))))
       (delete-char 1))))
 
 (defun tex-continuous--error-list (log-file)
@@ -295,7 +296,8 @@ empty, except when NOKILL is non-nil."
     (when (and comp-buf (buffer-live-p comp-buf))
       (with-current-buffer comp-buf
         (setq tex-continuous--subscribed-buffers
-              (cl-remove buf tex-continuous--subscribed-buffers))
+              (seq-remove (lambda (b) (eq b buf))
+                          tex-continuous--subscribed-buffers))
         (when (null tex-continuous--subscribed-buffers)
           (setq done t)))
       (when done
@@ -349,7 +351,8 @@ This is called from the compilation buffer when it is 
killed."
                                    (get-buffer comp-buf-name))
           (special-mode)
           (add-hook 'after-change-functions #'tex-continuous--update-time nil 
t)
-          (add-hook 'kill-buffer-hook #'tex-continuous--cancel-subscriptions 
nil t)
+          (add-hook 'kill-buffer-hook
+                    #'tex-continuous--cancel-subscriptions nil t)
           (push buf tex-continuous--subscribed-buffers))))
     (add-hook 'kill-buffer-hook 'tex-continuous--unsubscribe nil t)
     (setq tex-continuous--disable-function 'tex-continuous-mode-disable)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]