[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4514: 23.1; defcustom ffap-rfc-path to match ffap-rfc-directories
From: |
Kevin Ryde |
Subject: |
bug#4514: 23.1; defcustom ffap-rfc-path to match ffap-rfc-directories |
Date: |
Tue, 22 Sep 2009 09:23:55 +1000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
2009-09-21 Kevin Ryde <user42@zip.com.au>
* ffap.el (ffap-rfc-path): Make this a defcustom since
`ffap-rfc-directories' is also a defcustom.
--- ffap.el.~1.85.~ 2009-09-22 09:11:04.000000000 +1000
+++ ffap.el 2009-09-22 09:13:57.000000000 +1000
@@ -951,6 +951,16 @@
"/pub/gnu/emacs/elisp-archive/"))
(substring name 2))))
+(defcustom ffap-rfc-path
+ (concat (ffap-host-to-filename "ftp.rfc-editor.org") "/in-notes/rfc%s.txt")
+ "A `format' string making a filename for RFC documents.
+This can be an ange-ftp or tramp remote filename to download, or
+a local filename if you have full set of RFCs locally. See also
+`ffap-rfc-directories'."
+ :type 'string
+ :version "23.1"
+ :group 'ffap)
+
(defcustom ffap-rfc-directories nil
"A list of directories to look for RFC files.
If a given RFC isn't in these then `ffap-rfc-path' is offered."
@@ -958,9 +968,6 @@
:version "23.1"
:group 'ffap)
-(defvar ffap-rfc-path
- (concat (ffap-host-to-filename "ftp.rfc-editor.org") "/in-notes/rfc%s.txt"))
-
(defun ffap-rfc (name)
(let ((num (match-string 1 name)))
(or (ffap-locate-file (format "rfc%s.txt" num) t ffap-rfc-directories)
In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5)
of 2009-08-03 on raven, modified by Debian
configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g
-O2' 'LDFLAGS=-g' 'CPPFLAGS=''
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#4514: 23.1; defcustom ffap-rfc-path to match ffap-rfc-directories,
Kevin Ryde <=