branch: externals/auctex commit c6c7c3f024dbf7fc7cde18f640a1362b31923183 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
; Use #' to quote function * latex.el (LaTeX-auto-cleanup): * style/environ.el (LaTeX-environ-auto-cleanup): Use #' to quote function name. --- latex.el | 2 +- style/environ.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/latex.el b/latex.el index 79b25f4d51..1d203d5eef 100644 --- a/latex.el +++ b/latex.el @@ -2044,7 +2044,7 @@ The value is actually the tail of the list of options given to PACKAGE." LaTeX-auto-environment)) LaTeX-auto-environment))) (add-to-list 'LaTeX-auto-environment - (list (nth 0 entry) 'LaTeX-env-args (vector "argument") + (list (nth 0 entry) #'LaTeX-env-args (vector "argument") (1- (string-to-number (nth 1 entry)))))) LaTeX-auto-env-args-with-opt) diff --git a/style/environ.el b/style/environ.el index 3a17f504be..09bf23f36e 100644 --- a/style/environ.el +++ b/style/environ.el @@ -1,6 +1,6 @@ ;;; environ.el --- AUCTeX style for `environ.sty' version v0.3 -*- lexical-binding: t; -*- -;; Copyright (C) 2015, 2016, 2018, 2020 Free Software Foundation, Inc. +;; Copyright (C) 2015, 2016, 2018, 2020, 2022 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -80,7 +80,7 @@ from `environ.sty'.") (and args (not (string-equal args "")) opt (not (string-equal opt ""))) (add-to-list 'LaTeX-auto-environment - (list env 'LaTeX-env-args (vector "argument") + (list env #'LaTeX-env-args (vector "argument") (1- (string-to-number args))))) (;; mandatory argument(s) only (and args (not (string-equal args ""))