auctex-devel
[Top][All Lists]
Advanced

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

(function (lambda or not


From: Uwe Brauer
Subject: (function (lambda or not
Date: Sat, 03 Sep 2022 09:16:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hi

I just noticed that amsart has

(TeX-add-style-hook
 "amsart"
 (function
  (lambda ()
    (TeX-run-style-hooks "amsmath" "amsthm")
    (LaTeX-add-environments "abstract")))
 TeX-dialect)

While, for example  `catchfilebetweentags' or  `exam' has


(TeX-add-style-hook
 "catchfilebetweentags"
 (lambda ()
   (TeX-add-symbols
    '("ExecuteMetaData"
      ;; Act like \include and not like \input:
      [TeX-arg-input-file "File" t] "Tag")
    '("ExecuteMetaData*"
      [TeX-arg-input-file "File" t] "Tag")

    '("CatchFileBetweenTags"
      TeX-arg-define-macro (TeX-arg-input-file  "File-name" t) "Tag")
    '("CatchFileBetweenTags*"
      TeX-arg-define-macro (TeX-arg-input-file  "File-name" t) "Tag"))))

So the question is, is the (function (lambda 
old syntax? Or what do I miss here?


Regards

Uwe Brauer


-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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