branch: master commit 04fc731398b2980a17e0665b286c8423b5245b6e Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
; Fix docstring and comment * latex.el (LaTeX-check-insert-macro-default-style): Fix docstring. * style/floatrow.el: Remove stale comment. --- latex.el | 11 +++++------ style/floatrow.el | 7 ++----- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/latex.el b/latex.el index 885a7e91..d0a9ee6f 100644 --- a/latex.el +++ b/latex.el @@ -9357,12 +9357,11 @@ arguments POS and COL for efficiency." (defmacro LaTeX-check-insert-macro-default-style (&rest body) "Check for values of `TeX-insert-macro-default-style' and `current-prefix-arg'. -This is a utility macro with code taken from -`TeX-parse-arguments'. It should be used inside more complex -function within AUCTeX style files where optional and mandatory -arguments are queried and inserted. For examples, check the -functions `TeX-arg-color' (style/color.el) or -`LaTeX-arg-bicaption-bicaption' (style/bicaption.el)." +This is a utility macro with code taken from `TeX-parse-arguments'. It +should be used inside more complex function within AUCTeX style files +where optional and mandatory arguments are queried and inserted. For +example, check the function `LaTeX-arg-bicaption-bicaption' +defined in style/bicaption.el." `(unless (if (eq TeX-insert-macro-default-style 'show-all-optional-args) (equal current-prefix-arg '(4)) (or diff --git a/style/floatrow.el b/style/floatrow.el index 00c2a4be..c0023687 100644 --- a/style/floatrow.el +++ b/style/floatrow.el @@ -1,6 +1,6 @@ ;;; floatrow.el --- AUCTeX style for `floatrow.sty' (v0.3b) -*- lexical-binding: t; -*- -;; Copyright (C) 2017--2022 Free Software Foundation, Inc. +;; Copyright (C) 2017--2024 Free Software Foundation, Inc. ;; Author: Arash Esbati <ar...@gnu.org> ;; Maintainer: auctex-devel@gnu.org @@ -62,11 +62,8 @@ (eval-when-compile (require 'cl-lib)) -;; Needed for compiling `LaTeX-check-insert-macro-default-style': -(require 'latex) - -;; Needed for auto-parsing: (require 'tex) +(require 'latex) ;; Silence the compiler: (declare-function font-latex-add-keywords