bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] Emacs reftex-vars.el custom type fixes


From: John Paul Wallington
Subject: [Bug-AUCTeX] Emacs reftex-vars.el custom type fixes
Date: Mon, 12 Mar 2007 22:55:20 +0000

Ahoy,

Here's a little patch to Emacs' reftex-vars.el to fix a couple of
custom types.  Carsten said to send this fix to address@hidden

2007-03-12  John Paul Wallington  <address@hidden>

        * textmodes/reftex-vars.el (reftex-format-ref-function)
        (reftex-format-cite-function): Fix custom type.

--- reftex-vars.el      21 Jan 2007 03:53:09 +0000      1.39
+++ reftex-vars.el      12 Mar 2007 22:54:18 +0000      
@@ -989,7 +989,7 @@
 FORMAT, which normally is `~\\ref{%s}'.  The function should return the
 string to insert into the buffer."
   :group 'reftex-referencing-labels
-  :type 'function)
+  :type '(choice (const nil) function))
 
 (defcustom reftex-select-label-mode-hook nil
   "Mode hook for reftex-select-label-mode."
@@ -1182,7 +1182,7 @@
 DEFAULT FORMAT, which is taken from `reftex-cite-format'.  The function
 should return the string to insert into the buffer."
   :group 'reftex-citation-support
-  :type 'function)
+  :type '(choice (const nil) function))
 
 (defcustom reftex-select-bib-mode-hook nil
   "Mode hook for reftex-select-bib-mode."




reply via email to

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