[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0b50ae33 1/2: ; Fix last change
From: |
Arash Esbati |
Subject: |
master 0b50ae33 1/2: ; Fix last change |
Date: |
Sun, 2 Jun 2024 16:46:32 -0400 (EDT) |
branch: master
commit 0b50ae3390b00192f65f0ed96407564838ef96ef
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Fix last change
* style/standalone.el: Silence the compiler.
("standalone"): Fix the function name.
---
style/standalone.el | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/style/standalone.el b/style/standalone.el
index 12b1d686..3fac7a96 100644
--- a/style/standalone.el
+++ b/style/standalone.el
@@ -31,6 +31,15 @@
;;; Code:
+(require 'tex)
+(require 'latex)
+
+;; Silence the compiler:
+(declare-function font-latex-add-keywords
+ "font-latex"
+ (keywords class))
+
+
(TeX-add-style-hook
"standalone"
(lambda ()
@@ -61,8 +70,8 @@
(LaTeX-add-environments "standalone")
;; \standaloneenv is relevant in conjunction with option multi:
- (when (or (LaTeX-provided-class-options "standalone" "multi")
- (LaTeX-provided-class-options "standalone" "multi=true"))
+ (when (or (LaTeX-provided-class-options-member "standalone" "multi")
+ (LaTeX-provided-class-options-member "standalone" "multi=true"))
(TeX-add-symbols
'("standaloneenv"
(TeX-arg-completing-read-multiple (LaTeX-environment-list)
@@ -74,14 +83,14 @@
'function)))
;; standaloneframe env is relevant in conjunction with option beamer:
- (when (or (LaTeX-provided-class-options "standalone" "beamer")
- (LaTeX-provided-class-options "standalone" "beamer=true"))
+ (when (or (LaTeX-provided-class-options-member "standalone" "beamer")
+ (LaTeX-provided-class-options-member "standalone"
"beamer=true"))
(TeX-run-style-hooks "beamer")
(LaTeX-add-environments '("standaloneframe")))
;; TikZ class option:
- (when (or (LaTeX-provided-class-options "standalone" "tikz")
- (LaTeX-provided-class-options "standalone" "tikz=true"))
+ (when (or (LaTeX-provided-class-options-member "standalone" "tikz")
+ (LaTeX-provided-class-options-member "standalone" "tikz=true"))
(TeX-run-style-hooks "tikz")))
;; standalone.sty
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0b50ae33 1/2: ; Fix last change,
Arash Esbati <=