auctex-diffs
[Top][All Lists]
Advanced

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

main 9c24759a 081/257: * tex-ispell.el (TeX-ispell-sort-skip-cmds-list):


From: Tassilo Horn
Subject: main 9c24759a 081/257: * tex-ispell.el (TeX-ispell-sort-skip-cmds-list): Drop symbol-value
Date: Fri, 19 Apr 2024 15:36:29 -0400 (EDT)

branch: main
commit 9c24759a96f41e288841ec2e815d62d58dc01e7a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * tex-ispell.el (TeX-ispell-sort-skip-cmds-list): Drop symbol-value
    
    * tex-site.el (TeX-modes): Use #'.
---
 tex-ispell.el | 2 +-
 tex-site.el   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tex-ispell.el b/tex-ispell.el
index c5195834..b12ee3e4 100644
--- a/tex-ispell.el
+++ b/tex-ispell.el
@@ -250,7 +250,7 @@ skipped as cdr."))
        (dolist (elt TeX-ispell-skip-cmds-list)
          (when (= (cdr elt) arg)
            (push (car elt) cmds)))
-       (symbol-value 'cmds)))))
+       cmds))))
 
 (defvar TeX-ispell-skip-cmds-one-arg-regexp
   (eval-when-compile
diff --git a/tex-site.el b/tex-site.el
index 8e529a9e..5916fa24 100644
--- a/tex-site.el
+++ b/tex-site.el
@@ -1,6 +1,6 @@
 ;;; tex-site.el - Site specific variables.  Don't edit.
 
-;; Copyright (C) 2005, 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2013, 2016 Free Software Foundation, Inc.
 ;;
 ;; completely rewritten.
 
@@ -132,14 +132,14 @@ definition."
               (get elt 'tex-saved))))))))
 
 (defcustom TeX-modes
-  (mapcar 'car TeX-mode-alist)
+  (mapcar #'car TeX-mode-alist)
   "List of modes provided by AUCTeX.
 
 This variable can't be set normally; use customize for that, or
 set it with `TeX-modes-set'."
   :type (cons 'set
              (mapcar (lambda(x) (list 'const (car x))) TeX-mode-alist))
-  :set 'TeX-modes-set
+  :set #'TeX-modes-set
   :group 'AUCTeX
   :initialize(lambda (var value)
               (custom-initialize-reset var value)



reply via email to

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