aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-06-12 13:47:14 +0800
committerChong Yidong2012-06-12 13:47:14 +0800
commitf1a4e679f3b0696089b4fd73717307ba5d23e1cf (patch)
treedc44016b20723e38247300b6c6eaec3cd4e98761
parentbf67e61f291a82a9e90a7918f5188714853f0094 (diff)
downloademacs-f1a4e679f3b0696089b4fd73717307ba5d23e1cf.tar.gz
emacs-f1a4e679f3b0696089b4fd73717307ba5d23e1cf.zip
Various minor variable/hook cleanups.
* lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings): Rename from gud-inhibit-global-bindings. * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix. * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from erc-dcc-chat-filter-hook, since this is an abnormal hook. * lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal hook from nxml-glyph-set-hook. * lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable declaration. * lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix. * lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path): Convert to defcustom. * lisp/url/url-handlers.el (url-handler-regexp): * lisp/url/url-nfs.el (url-nfs-automounter-directory-spec): * lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/emacs-lisp/edebug.el13
-rw-r--r--lisp/emacs-lisp/eieio.el2
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc-dcc.el15
-rw-r--r--lisp/nxml/nxml-glyph.el31
-rw-r--r--lisp/nxml/nxml-mode.el6
-rw-r--r--lisp/progmodes/cwarn.el6
-rw-r--r--lisp/progmodes/pascal.el8
-rw-r--r--lisp/textmodes/bibtex.el12
-rw-r--r--lisp/url/ChangeLog6
-rw-r--r--lisp/url/url-handlers.el42
-rw-r--r--lisp/url/url-nfs.el7
-rw-r--r--lisp/url/url-vars.el6
14 files changed, 114 insertions, 63 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0618a7a14b1..e452e96fceb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,21 @@
12012-06-12 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4 Rename from gud-inhibit-global-bindings.
5
6 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7
8 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9 hook from nxml-glyph-set-hook.
10
11 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12 declaration.
13
14 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
15
16 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
17 Convert to defcustom.
18
12012-06-12 Drew Adams <drew.adams@oracle.com> 192012-06-12 Drew Adams <drew.adams@oracle.com>
2 20
3 * help-mode.el (help-bookmark-make-record, help-bookmark-jump): 21 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 8c6738ca6a9..28b768a14b3 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -3055,7 +3055,6 @@ Otherwise, toggle for all windows."
3055 (edebug-toggle-save-selected-window) 3055 (edebug-toggle-save-selected-window)
3056 (edebug-toggle-save-all-windows))) 3056 (edebug-toggle-save-all-windows)))
3057 3057
3058
3059(defun edebug-where () 3058(defun edebug-where ()
3060 "Show the debug windows and where we stopped in the program." 3059 "Show the debug windows and where we stopped in the program."
3061 (interactive) 3060 (interactive)
@@ -3735,12 +3734,16 @@ This prints the value into current buffer."
3735 3734
3736;;; Edebug Minor Mode 3735;;; Edebug Minor Mode
3737 3736
3738;; FIXME eh? 3737(defvar edebug-inhibit-emacs-lisp-mode-bindings nil
3739(defvar gud-inhibit-global-bindings 3738 "If non-nil, inhibit Edebug bindings on the C-x C-a key.
3740 "Non-nil means don't do global rebindings of C-x C-a subcommands.") 3739By default, loading the `edebug' library causes these bindings to
3740be installed in `emacs-lisp-mode-map'.")
3741
3742(define-obsolete-variable-alias 'gud-inhibit-global-bindings
3743 'edebug-inhibit-emacs-lisp-mode-bindings "24.2")
3741 3744
3742;; Global GUD bindings for all emacs-lisp-mode buffers. 3745;; Global GUD bindings for all emacs-lisp-mode buffers.
3743(unless gud-inhibit-global-bindings 3746(unless edebug-inhibit-emacs-lisp-mode-bindings
3744 (define-key emacs-lisp-mode-map "\C-x\C-a\C-s" 'edebug-step-mode) 3747 (define-key emacs-lisp-mode-map "\C-x\C-a\C-s" 'edebug-step-mode)
3745 (define-key emacs-lisp-mode-map "\C-x\C-a\C-n" 'edebug-next-mode) 3748 (define-key emacs-lisp-mode-map "\C-x\C-a\C-n" 'edebug-next-mode)
3746 (define-key emacs-lisp-mode-map "\C-x\C-a\C-c" 'edebug-go-mode) 3749 (define-key emacs-lisp-mode-map "\C-x\C-a\C-c" 'edebug-go-mode)
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el
index 768eba58ee1..1efb74e7139 100644
--- a/lisp/emacs-lisp/eieio.el
+++ b/lisp/emacs-lisp/eieio.el
@@ -2044,7 +2044,7 @@ During executions, the list is first generated, then as each next method
2044is called, the next method is popped off the stack.") 2044is called, the next method is popped off the stack.")
2045 2045
2046(defvar eieio-pre-method-execution-hooks nil 2046(defvar eieio-pre-method-execution-hooks nil
2047 "Hooks run just before a method is executed. 2047 "Abnormal hook run just before an EIEIO method is executed.
2048The hook function must accept one argument, the list of forms 2048The hook function must accept one argument, the list of forms
2049about to be executed.") 2049about to be executed.")
2050 2050
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index d8cca31499d..fbc5baa6a79 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
12012-06-12 Chong Yidong <cyd@gnu.org>
2
3 * erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
4 erc-dcc-chat-filter-hook, since this is an abnormal hook.
5
12012-06-08 Chong Yidong <cyd@gnu.org> 62012-06-08 Chong Yidong <cyd@gnu.org>
2 7
3 * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face) 8 * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el
index d1ef1a99548..66256ee270e 100644
--- a/lisp/erc/erc-dcc.el
+++ b/lisp/erc/erc-dcc.el
@@ -627,7 +627,7 @@ separated by a space."
627 627
628;;;###autoload 628;;;###autoload
629(defvar erc-ctcp-query-DCC-hook '(erc-ctcp-query-DCC) 629(defvar erc-ctcp-query-DCC-hook '(erc-ctcp-query-DCC)
630 "Hook variable for CTCP DCC queries") 630 "Hook variable for CTCP DCC queries.")
631 631
632(defvar erc-dcc-query-handler-alist 632(defvar erc-dcc-query-handler-alist
633 '(("SEND" . erc-dcc-handle-ctcp-send) 633 '(("SEND" . erc-dcc-handle-ctcp-send)
@@ -1099,8 +1099,13 @@ Possible values are: ask, auto, ignore."
1099 (pcomplete-here '("auto" "ask" "ignore"))) 1099 (pcomplete-here '("auto" "ask" "ignore")))
1100(defalias 'pcomplete/erc-mode/SREQ 'pcomplete/erc-mode/CREQ) 1100(defalias 'pcomplete/erc-mode/SREQ 'pcomplete/erc-mode/CREQ)
1101 1101
1102(defvar erc-dcc-chat-filter-hook '(erc-dcc-chat-parse-output) 1102(defvar erc-dcc-chat-filter-functions '(erc-dcc-chat-parse-output)
1103 "Hook to run after doing parsing (and possible insertion) of DCC messages.") 1103 "Abnormal hook run after parsing (and maybe inserting) a DCC message.
1104Each function is called with two arguments: the ERC process and
1105the unprocessed output.")
1106
1107(define-obsolete-variable-alias 'erc-dcc-chat-filter-hook
1108 'erc-dcc-chat-filter-functions "24.2")
1104 1109
1105(defvar erc-dcc-chat-mode-map 1110(defvar erc-dcc-chat-mode-map
1106 (let ((map (make-sparse-keymap))) 1111 (let ((map (make-sparse-keymap)))
@@ -1195,8 +1200,8 @@ other client."
1195 (set-buffer (process-buffer proc)) 1200 (set-buffer (process-buffer proc))
1196 (setq erc-dcc-unprocessed-output 1201 (setq erc-dcc-unprocessed-output
1197 (concat erc-dcc-unprocessed-output str)) 1202 (concat erc-dcc-unprocessed-output str))
1198 (run-hook-with-args 'erc-dcc-chat-filter-hook proc 1203 (run-hook-with-args 'erc-dcc-chat-filter-functions
1199 erc-dcc-unprocessed-output)) 1204 proc erc-dcc-unprocessed-output))
1200 (set-buffer orig-buffer)))) 1205 (set-buffer orig-buffer))))
1201 1206
1202(defun erc-dcc-chat-parse-output (proc str) 1207(defun erc-dcc-chat-parse-output (proc str)
diff --git a/lisp/nxml/nxml-glyph.el b/lisp/nxml/nxml-glyph.el
index 6e15e5d4ce0..86b14e66398 100644
--- a/lisp/nxml/nxml-glyph.el
+++ b/lisp/nxml/nxml-glyph.el
@@ -25,7 +25,7 @@
25;; The entry point to this file is `nxml-glyph-display-string'. 25;; The entry point to this file is `nxml-glyph-display-string'.
26;; The current implementation is heuristic due to a lack of 26;; The current implementation is heuristic due to a lack of
27;; Emacs primitives necessary to implement it properly. The user 27;; Emacs primitives necessary to implement it properly. The user
28;; can tweak the heuristics using `nxml-glyph-set-hook'. 28;; can tweak the heuristics using `nxml-glyph-set-functions'.
29 29
30;;; Code: 30;;; Code:
31 31
@@ -332,21 +332,26 @@ This repertoire is supported for the following fonts:
332 (#xFB01 . #xFB02)] 332 (#xFB01 . #xFB02)]
333 "Glyph set corresponding to Windows Glyph List 4.") 333 "Glyph set corresponding to Windows Glyph List 4.")
334 334
335(defvar nxml-glyph-set-hook nil 335(defvar nxml-glyph-set-functions nil
336 "Hook for determining the set of glyphs in a face. 336 "Abnormal hook for determining the set of glyphs in a face.
337The hook will receive a single argument FACE. If it can determine 337Each function in this hook is called in turn, unless one of them
338the set of glyphs representable by FACE, it must set the variable 338returns non-nil. Each function is called with a single argument
339`nxml-glyph-set' and return non-nil. Otherwise, it must return nil. 339FACE. If it can determine the set of glyphs representable by
340The hook will be run until success. The constants 340FACE, it must set the variable `nxml-glyph-set' and return
341`nxml-ascii-glyph-set', `nxml-latin1-glyph-set', 341non-nil. Otherwise, it must return nil.
342
343The constants `nxml-ascii-glyph-set', `nxml-latin1-glyph-set',
342`nxml-misc-fixed-1-glyph-set', `nxml-misc-fixed-2-glyph-set', 344`nxml-misc-fixed-1-glyph-set', `nxml-misc-fixed-2-glyph-set',
343`nxml-misc-fixed-3-glyph-set' and `nxml-wgl4-glyph-set' are 345`nxml-misc-fixed-3-glyph-set' and `nxml-wgl4-glyph-set' are
344predefined for use by `nxml-glyph-set-hook'.") 346predefined for use by `nxml-glyph-set-functions'.")
347
348(define-obsolete-variable-alias 'nxml-glyph-set-hook
349 'nxml-glyph-set-functions "24.2")
345 350
346(defvar nxml-glyph-set nil 351(defvar nxml-glyph-set nil
347 "Used by `nxml-glyph-set-hook' to return set of glyphs in a FACE. 352 "Used by `nxml-glyph-set-functions' to return set of glyphs in a FACE.
348This should dynamically bound by any function that runs 353This should dynamically bound by any function that runs
349`nxml-glyph-set-hook'. The value must be either nil representing an 354`nxml-glyph-set-functions'. The value must be either nil representing an
350empty set or a vector. Each member of the vector is either a single 355empty set or a vector. Each member of the vector is either a single
351integer or a cons (FIRST . LAST) representing the range of integers 356integer or a cons (FIRST . LAST) representing the range of integers
352from FIRST to LAST. An integer represents a glyph with that Unicode 357from FIRST to LAST. An integer represents a glyph with that Unicode
@@ -367,7 +372,7 @@ code-point. The vector must be ordered.")
367(defun nxml-terminal-set-glyph-set (face) 372(defun nxml-terminal-set-glyph-set (face)
368 (setq nxml-glyph-set nxml-ascii-glyph-set)) 373 (setq nxml-glyph-set nxml-ascii-glyph-set))
369 374
370(add-hook 'nxml-glyph-set-hook 375(add-hook 'nxml-glyph-set-functions
371 (or (cdr (assq window-system 376 (or (cdr (assq window-system
372 '((x . nxml-x-set-glyph-set) 377 '((x . nxml-x-set-glyph-set)
373 (w32 . nxml-w32-set-glyph-set) 378 (w32 . nxml-w32-set-glyph-set)
@@ -381,7 +386,7 @@ code-point. The vector must be ordered.")
381FACE gives the face that will be used for displaying the string. 386FACE gives the face that will be used for displaying the string.
382Return nil if the face cannot display a glyph for N." 387Return nil if the face cannot display a glyph for N."
383 (let ((nxml-glyph-set nil)) 388 (let ((nxml-glyph-set nil))
384 (run-hook-with-args-until-success 'nxml-glyph-set-hook face) 389 (run-hook-with-args-until-success 'nxml-glyph-set-functions face)
385 (and nxml-glyph-set 390 (and nxml-glyph-set
386 (nxml-glyph-set-contains-p n nxml-glyph-set) 391 (nxml-glyph-set-contains-p n nxml-glyph-set)
387 (let ((ch (decode-char 'ucs n))) 392 (let ((ch (decode-char 'ucs n)))
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index 5adafc3845c..934dabee90d 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -54,9 +54,9 @@
54 54
55(defcustom nxml-char-ref-display-glyph-flag t 55(defcustom nxml-char-ref-display-glyph-flag t
56 "Non-nil means display glyph following character reference. 56 "Non-nil means display glyph following character reference.
57The glyph is displayed in face `nxml-glyph'. The hook 57The glyph is displayed in face `nxml-glyph'. The abnormal hook
58`nxml-glyph-set-hook' can be used to customize for which characters 58`nxml-glyph-set-functions' can be used to change the characters
59glyphs are displayed." 59for which glyphs are displayed."
60 :group 'nxml 60 :group 'nxml
61 :type 'boolean) 61 :type 'boolean)
62 62
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 3e99f3c9176..09c7e908806 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -119,12 +119,6 @@
119 :version "21.1" 119 :version "21.1"
120 :group 'faces) 120 :group 'faces)
121 121
122(defvar cwarn-mode nil
123 "Non-nil when Cwarn mode is active.
124
125Never set this variable directly, use the command `cwarn-mode'
126instead.")
127
128(defcustom cwarn-configuration 122(defcustom cwarn-configuration
129 '((c-mode (not reference)) 123 '((c-mode (not reference))
130 (c++-mode t)) 124 (c++-mode t))
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 62ba9418ced..ce37fc2c571 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -232,10 +232,10 @@ will do all lineups."
232 :group 'pascal) 232 :group 'pascal)
233 233
234(defvar pascal-toggle-completions nil 234(defvar pascal-toggle-completions nil
235 "Non-nil meant \\<pascal-mode-map>\\[pascal-complete-word] would try all possible completions one by one. 235 "If non-nil, `pascal-complete-word' tries all possible completions.
236Repeated use of \\[pascal-complete-word] would show you all of them. 236Repeated use of \\[pascal-complete-word] then shows all
237Normally, when there is more than one possible completion, 237completions in turn, instead of displaying a list of all possible
238it displays a list of all possible completions.") 238completions.")
239(make-obsolete-variable 'pascal-toggle-completions 239(make-obsolete-variable 'pascal-toggle-completions
240 'completion-cycle-threshold "24.1") 240 'completion-cycle-threshold "24.1")
241 241
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 87a32ad47a9..31656918fad 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -916,8 +916,10 @@ to the directories specified in `bibtex-string-file-path'."
916 :group 'bibtex 916 :group 'bibtex
917 :type '(repeat file)) 917 :type '(repeat file))
918 918
919(defvar bibtex-string-file-path (getenv "BIBINPUTS") 919(defcustom bibtex-string-file-path (getenv "BIBINPUTS")
920 "Colon separated list of paths to search for `bibtex-string-files'.") 920 "Colon-separated list of paths to search for `bibtex-string-files'."
921 :group 'bibtex
922 :type 'string)
921 923
922(defcustom bibtex-files nil 924(defcustom bibtex-files nil
923 "List of BibTeX files that are searched for entry keys. 925 "List of BibTeX files that are searched for entry keys.
@@ -930,8 +932,10 @@ See also `bibtex-search-entry-globally'."
930 :type '(repeat (choice (const :tag "bibtex-file-path" bibtex-file-path) 932 :type '(repeat (choice (const :tag "bibtex-file-path" bibtex-file-path)
931 directory file))) 933 directory file)))
932 934
933(defvar bibtex-file-path (getenv "BIBINPUTS") 935(defcustom bibtex-file-path (getenv "BIBINPUTS")
934 "Colon separated list of paths to search for `bibtex-files'.") 936 "Colon separated list of paths to search for `bibtex-files'."
937 :group 'bibtex
938 :type 'string)
935 939
936(defcustom bibtex-search-entry-globally nil 940(defcustom bibtex-search-entry-globally nil
937 "If non-nil, interactive calls of `bibtex-search-entry' search globally. 941 "If non-nil, interactive calls of `bibtex-search-entry' search globally.
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 40295f6e1d8..32015db8405 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,9 @@
12012-06-12 Chong Yidong <cyd@gnu.org>
2
3 * url-handlers.el (url-handler-regexp):
4 * url-nfs.el (url-nfs-automounter-directory-spec):
5 * url-vars.el (url-load-hook): Convert to defcustom.
6
12012-05-25 Leo Liu <sdl.web@gmail.com> 72012-05-25 Leo Liu <sdl.web@gmail.com>
2 8
3 * url-http.el (url-http-codes): Fix mal-formed defconst. 9 * url-http.el (url-http-codes): Fix mal-formed defconst.
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el
index d00a1174cdf..dc412c2d16d 100644
--- a/lisp/url/url-handlers.el
+++ b/lisp/url/url-handlers.el
@@ -90,13 +90,24 @@
90;; verify-visited-file-modtime 90;; verify-visited-file-modtime
91;; write-region 91;; write-region
92 92
93(defvar url-handler-regexp 93;;;###autoload
94 "\\`\\(https?\\|ftp\\|file\\|nfs\\)://" 94(defcustom url-handler-regexp "\\`\\(https?\\|ftp\\|file\\|nfs\\)://"
95 "A regular expression for matching URLs handled by `file-name-handler-alist'. 95 "Regular expression for URLs handled by `url-handler-mode'.
96Some valid URL protocols just do not make sense to visit interactively 96When URL Handler mode is enabled, this regular expression is
97\(about, data, info, irc, mailto, etc\). This regular expression 97added to `file-name-handler-alist'.
98avoids conflicts with local files that look like URLs \(Gnus is 98
99particularly bad at this\).") 99Some valid URL protocols just do not make sense to visit
100interactively \(about, data, info, irc, mailto, etc\). This
101regular expression avoids conflicts with local files that look
102like URLs \(Gnus is particularly bad at this\)."
103 :group 'url
104 :type 'regexp
105 :set (lambda (symbol value)
106 (let ((enable url-handler-mode))
107 (url-handler-mode 0)
108 (set-default symbol value)
109 (if enable
110 (url-handler-mode)))))
100 111
101;;;###autoload 112;;;###autoload
102(define-minor-mode url-handler-mode 113(define-minor-mode url-handler-mode
@@ -105,16 +116,13 @@ With a prefix argument ARG, enable URL Handler mode if ARG is
105positive, and disable it otherwise. If called from Lisp, enable 116positive, and disable it otherwise. If called from Lisp, enable
106the mode if ARG is omitted or nil." 117the mode if ARG is omitted or nil."
107 :global t :group 'url 118 :global t :group 'url
108 (if (not (boundp 'file-name-handler-alist)) 119 ;; Remove old entry, if any.
109 ;; Can't be turned ON anyway. 120 (setq file-name-handler-alist
110 (setq url-handler-mode nil) 121 (delq (rassq 'url-file-handler file-name-handler-alist)
111 ;; Remove old entry, if any. 122 file-name-handler-alist))
112 (setq file-name-handler-alist 123 (if url-handler-mode
113 (delq (rassq 'url-file-handler file-name-handler-alist) 124 (push (cons url-handler-regexp 'url-file-handler)
114 file-name-handler-alist)) 125 file-name-handler-alist)))
115 (if url-handler-mode
116 (push (cons url-handler-regexp 'url-file-handler)
117 file-name-handler-alist))))
118 126
119(defun url-run-real-handler (operation args) 127(defun url-run-real-handler (operation args)
120 (let ((inhibit-file-name-handlers (cons 'url-file-handler 128 (let ((inhibit-file-name-handlers (cons 'url-file-handler
diff --git a/lisp/url/url-nfs.el b/lisp/url/url-nfs.el
index bfab147f267..cb5695b5549 100644
--- a/lisp/url/url-nfs.el
+++ b/lisp/url/url-nfs.el
@@ -27,8 +27,7 @@
27(require 'url-parse) 27(require 'url-parse)
28(require 'url-file) 28(require 'url-file)
29 29
30(defvar url-nfs-automounter-directory-spec 30(defcustom url-nfs-automounter-directory-spec "file:/net/%h%f"
31 "file:/net/%h%f"
32 "How to invoke the NFS automounter. Certain % sequences are recognized. 31 "How to invoke the NFS automounter. Certain % sequences are recognized.
33 32
34%h -- the hostname of the NFS server 33%h -- the hostname of the NFS server
@@ -38,7 +37,9 @@
38%f -- the filename on the remote server 37%f -- the filename on the remote server
39%% -- a literal % 38%% -- a literal %
40 39
41Each can be used any number of times.") 40Each can be used any number of times."
41 :group 'url
42 :type 'string)
42 43
43(defun url-nfs-unescape (format host port user pass file) 44(defun url-nfs-unescape (format host port user pass file)
44 (with-current-buffer (get-buffer-create " *nfs-parse*") 45 (with-current-buffer (get-buffer-create " *nfs-parse*")
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el
index 6aa14b8bae1..11546e11583 100644
--- a/lisp/url/url-vars.el
+++ b/lisp/url/url-vars.el
@@ -375,8 +375,10 @@ Currently supported methods:
375(modify-syntax-entry ?> ")<" url-parse-syntax-table) 375(modify-syntax-entry ?> ")<" url-parse-syntax-table)
376(modify-syntax-entry ?/ " " url-parse-syntax-table) 376(modify-syntax-entry ?/ " " url-parse-syntax-table)
377 377
378(defvar url-load-hook nil 378(defcustom url-load-hook nil
379 "Hooks to be run after initializing the URL library.") 379 "Hook run after initializing the URL library."
380 :group 'url
381 :type 'hook)
380 382
381;;; Make OS/2 happy - yeeks 383;;; Make OS/2 happy - yeeks
382;; (defvar tcp-binary-process-input-services nil 384;; (defvar tcp-binary-process-input-services nil