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

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

[elpa] elpa 18f1783 06/16: Cherry-pick 9c24759a96f41e288841ec2e815d62d58


From: Tassilo Horn
Subject: [elpa] elpa 18f1783 06/16: Cherry-pick 9c24759a96f41e288841ec2e815d62d58dc01e7a from elpa branch
Date: Fri, 14 Oct 2016 16:03:32 +0000 (UTC)

branch: elpa
commit 18f178393fd4c2880cff917f2bd421a3273cd708
Author: Stefan Monnier <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Cherry-pick 9c24759a96f41e288841ec2e815d62d58dc01e7a from elpa branch
    
    * tex-ispell.el (TeX-ispell-sort-skip-cmds-list): Drop symbol-value
    
    * tex-site.el.in (TeX-modes): Use #'.
---
 tex-ispell.el  |    2 +-
 tex-site.el.in |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tex-ispell.el b/tex-ispell.el
index c519583..b12ee3e 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.in b/tex-site.el.in
index 1fcc4da..a88f8bd 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -1,6 +1,6 @@
 ;;; tex-site.el - Site specific variables.  Don't edit.
 
-;; Copyright (C) 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2013, 2016 Free Software Foundation, Inc.
 ;;
 ;; completely rewritten.
 
@@ -39,7 +39,7 @@
 ;;; Code:
 
 (if (< emacs-major-version 21)
-  (error "AUCTeX requires Emacs 21 or later"))
+    (error "AUCTeX requires Emacs 21 or later"))
 
 ;; Define here in order for `M-x customize-group <RET> AUCTeX <RET>'
 ;; to work if the main AUCTeX files are not loaded yet.
@@ -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]