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

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

[elpa] 55/299: * style/fancyhdr.el (TeX-arg-fancyhdr-position): Document


From: Stefan Monnier
Subject: [elpa] 55/299: * style/fancyhdr.el (TeX-arg-fancyhdr-position): Document the OPTIONAL argument.
Date: Sun, 02 Nov 2014 03:10:15 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit 4868fb16f31b71184105c71f21369dc2ed1cdf08
Author: Tassilo Horn <address@hidden>
Date:   Thu Feb 14 07:17:45 2013 +0000

    * style/fancyhdr.el (TeX-arg-fancyhdr-position): Document the
    OPTIONAL argument.
---
 ChangeLog         |    5 +++++
 style/fancyhdr.el |    6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4b59e5c..b8239a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-14  Tassilo Horn  <address@hidden>
+
+       * style/fancyhdr.el (TeX-arg-fancyhdr-position): Document the
+       OPTIONAL argument.
+
 2013-02-14  Mads Jensen  <address@hidden>
 
        * Makefile.in (STYLESRC): Activate new style fancyhdr.el.
diff --git a/style/fancyhdr.el b/style/fancyhdr.el
index 132855a..3d777b6 100644
--- a/style/fancyhdr.el
+++ b/style/fancyhdr.el
@@ -89,8 +89,10 @@
 ;; the list of positions differs between the macros
 (defun TeX-arg-fancyhdr-position (optional &optional prompt collection)
   "Prompt for a fancyhdr position with completion.
-If non-nil, PROMPT is used as the prompt.  If non-nil, COLLECTION
-is used as the completion list for the position."
+If OPTIONAL is non-nil, insert the resulting value as an optional
+argument, otherwise as a mandatory one.  If non-nil, PROMPT is
+used as the prompt.  If non-nil, COLLECTION is used as the
+completion list for the position."
   (let* ((positions (if (not collection)
                         ;; Standard positions with no restrictions.  Lower-case
                         ;; versions, and reverse versions (e.g., OC) are left



reply via email to

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