aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-18 01:40:02 +0000
committerKaroly Lorentey2004-04-18 01:40:02 +0000
commitf2e45864d10657552bbc5cda8f10a5dcf1bfe511 (patch)
tree21af8d850cc6b15905949f6b2bc13733bfa7d184 /lisp/url
parent9002956fd888928dcca6ba30bbb90c739741377a (diff)
parent06e2fd488e846d50952025d07a5e12cc0cd4ff81 (diff)
downloademacs-f2e45864d10657552bbc5cda8f10a5dcf1bfe511.tar.gz
emacs-f2e45864d10657552bbc5cda8f10a5dcf1bfe511.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-220 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-221 Restore deleted tagline in etc/TUTORIAL.ru * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-222 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-223 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-224 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-225 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-144
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/url-dav.el27
-rw-r--r--lisp/url/url-file.el12
-rw-r--r--lisp/url/url-handlers.el4
-rw-r--r--lisp/url/url-http.el9
-rw-r--r--lisp/url/url-https.el48
-rw-r--r--lisp/url/url-nfs.el60
-rw-r--r--lisp/url/url-util.el53
7 files changed, 110 insertions, 103 deletions
diff --git a/lisp/url/url-dav.el b/lisp/url/url-dav.el
index b54d9f52c01..d6c5ffffa43 100644
--- a/lisp/url/url-dav.el
+++ b/lisp/url/url-dav.el
@@ -386,8 +386,7 @@ XML document."
386 (overall-status nil)) 386 (overall-status nil))
387 (when buffer 387 (when buffer
388 (unwind-protect 388 (unwind-protect
389 (save-excursion 389 (with-current-buffer buffer
390 (set-buffer buffer)
391 (goto-char url-http-end-of-headers) 390 (goto-char url-http-end-of-headers)
392 (setq overall-status url-http-response-status) 391 (setq overall-status url-http-response-status)
393 392
@@ -396,13 +395,13 @@ XML document."
396 ;; them. 395 ;; them.
397 (if (and 396 (if (and
398 url-http-content-type 397 url-http-content-type
399 (or (string-match "^text/xml" url-http-content-type) 398 (string-match "\\`\\(text\\|application\\)/xml"
400 (string-match "^application/xml" url-http-content-type))) 399 url-http-content-type))
401 (setq tree (xml-parse-region (point) (point-max))))) 400 (setq tree (xml-parse-region (point) (point-max)))))
402 ;; Clean up after ourselves. 401 ;; Clean up after ourselves.
403 '(kill-buffer buffer))) 402 (kill-buffer buffer)))
404 403
405 ;; We should now be 404 ;; We should now be
406 (if (eq (xml-node-name (car tree)) 'DAV:multistatus) 405 (if (eq (xml-node-name (car tree)) 'DAV:multistatus)
407 (url-dav-dispatch-node (car tree)) 406 (url-dav-dispatch-node (car tree))
408 (url-debug 'dav "Got back singleton response for URL(%S)" url) 407 (url-debug 'dav "Got back singleton response for URL(%S)" url)
@@ -577,8 +576,7 @@ Returns t iff the lock was successfully released."
577 (result nil)) 576 (result nil))
578 (when buffer 577 (when buffer
579 (unwind-protect 578 (unwind-protect
580 (save-excursion 579 (with-current-buffer buffer
581 (set-buffer buffer)
582 (setq result (url-dav-http-success-p url-http-response-status))) 580 (setq result (url-dav-http-success-p url-http-response-status)))
583 (kill-buffer buffer))) 581 (kill-buffer buffer)))
584 result)) 582 result))
@@ -627,7 +625,7 @@ Returns t iff the lock was successfully released."
627(autoload 'url-http-head-file-attributes "url-http") 625(autoload 'url-http-head-file-attributes "url-http")
628 626
629;;;###autoload 627;;;###autoload
630(defun url-dav-file-attributes (url) 628(defun url-dav-file-attributes (url &optional id-format)
631 (let ((properties (cdar (url-dav-get-properties url))) 629 (let ((properties (cdar (url-dav-get-properties url)))
632 (attributes nil)) 630 (attributes nil))
633 (if (and properties 631 (if (and properties
@@ -679,7 +677,7 @@ Returns t iff the lock was successfully released."
679 ;; device number - meaningless 677 ;; device number - meaningless
680 nil)) 678 nil))
681 ;; Fall back to just the normal http way of doing things. 679 ;; Fall back to just the normal http way of doing things.
682 (setq attributes (url-http-head-file-attributes url))) 680 (setq attributes (url-http-head-file-attributes url id-format)))
683 attributes)) 681 attributes))
684 682
685;;;###autoload 683;;;###autoload
@@ -695,8 +693,7 @@ OBJ may be a buffer or a string."
695 (url-request-data 693 (url-request-data
696 (cond 694 (cond
697 ((bufferp obj) 695 ((bufferp obj)
698 (save-excursion 696 (with-current-buffer obj
699 (set-buffer obj)
700 (buffer-string))) 697 (buffer-string)))
701 ((stringp obj) 698 ((stringp obj)
702 obj) 699 obj)
@@ -719,8 +716,7 @@ OBJ may be a buffer or a string."
719 ;; Sanity checking 716 ;; Sanity checking
720 (when buffer 717 (when buffer
721 (unwind-protect 718 (unwind-protect
722 (save-excursion 719 (with-current-buffer buffer
723 (set-buffer buffer)
724 (setq result (url-dav-http-success-p url-http-response-status))) 720 (setq result (url-dav-http-success-p url-http-response-status)))
725 (kill-buffer buffer))) 721 (kill-buffer buffer)))
726 result)) 722 result))
@@ -849,8 +845,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
849 (result nil)) 845 (result nil))
850 (when buffer 846 (when buffer
851 (unwind-protect 847 (unwind-protect
852 (save-excursion 848 (with-current-buffer buffer
853 (set-buffer buffer)
854 (case url-http-response-status 849 (case url-http-response-status
855 (201 ; Collection created in its entirety 850 (201 ; Collection created in its entirety
856 (setq result t)) 851 (setq result t))
diff --git a/lisp/url/url-file.el b/lisp/url/url-file.el
index 4dfac46b651..77c2e74555f 100644
--- a/lisp/url/url-file.el
+++ b/lisp/url/url-file.el
@@ -220,14 +220,14 @@ to them."
220 buffer)) 220 buffer))
221 221
222(defmacro url-file-create-wrapper (method args) 222(defmacro url-file-create-wrapper (method args)
223 (` (defalias (quote (, (intern (format "url-ftp-%s" method)))) 223 `(defalias ',(intern (format "url-ftp-%s" method))
224 (defun (, (intern (format "url-file-%s" method))) (, args) 224 (defun ,(intern (format "url-file-%s" method)) ,args
225 (, (format "FTP/FILE URL wrapper around `%s' call." method)) 225 ,(format "FTP/FILE URL wrapper around `%s' call." method)
226 (setq url (url-file-build-filename url)) 226 (setq url (url-file-build-filename url))
227 (and url ((, method) (,@ (remove '&rest (remove '&optional args))))))))) 227 (and url (,method ,@(remove '&rest (remove '&optional args)))))))
228 228
229(url-file-create-wrapper file-exists-p (url)) 229(url-file-create-wrapper file-exists-p (url))
230(url-file-create-wrapper file-attributes (url)) 230(url-file-create-wrapper file-attributes (url &optional id-format))
231(url-file-create-wrapper file-symlink-p (url)) 231(url-file-create-wrapper file-symlink-p (url))
232(url-file-create-wrapper file-readable-p (url)) 232(url-file-create-wrapper file-readable-p (url))
233(url-file-create-wrapper file-writable-p (url)) 233(url-file-create-wrapper file-writable-p (url))
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el
index eb0bec9ae92..6c540e8d61b 100644
--- a/lisp/url/url-handlers.el
+++ b/lisp/url/url-handlers.el
@@ -225,7 +225,7 @@ accessible."
225 ,@(remove '&rest (remove '&optional args)))))) 225 ,@(remove '&rest (remove '&optional args))))))
226 226
227(url-handlers-create-wrapper file-exists-p (url)) 227(url-handlers-create-wrapper file-exists-p (url))
228(url-handlers-create-wrapper file-attributes (url)) 228(url-handlers-create-wrapper file-attributes (url &optional id-format))
229(url-handlers-create-wrapper file-symlink-p (url)) 229(url-handlers-create-wrapper file-symlink-p (url))
230(url-handlers-create-wrapper file-writable-p (url)) 230(url-handlers-create-wrapper file-writable-p (url))
231(url-handlers-create-wrapper file-directory-p (url)) 231(url-handlers-create-wrapper file-directory-p (url))
@@ -244,7 +244,7 @@ accessible."
244 (url-handlers-create-wrapper 244 (url-handlers-create-wrapper
245 file-truename (url &optional counter prev-dirs))) 245 file-truename (url &optional counter prev-dirs)))
246 246
247(add-hook 'find-file-hooks 'url-handlers-set-buffer-mode) 247(add-hook 'find-file-hook 'url-handlers-set-buffer-mode)
248 248
249(defun url-handlers-set-buffer-mode () 249(defun url-handlers-set-buffer-mode ()
250 "Set correct modes for the current buffer if visiting a remote file." 250 "Set correct modes for the current buffer if visiting a remote file."
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index b2f797d09c7..200025c3804 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -4,6 +4,7 @@
4 4
5;; Author: Bill Perry <wmperry@gnu.org> 5;; Author: Bill Perry <wmperry@gnu.org>
6;; Keywords: comm, data, processes 6;; Keywords: comm, data, processes
7
7;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
8;; 9;;
9;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -1120,7 +1121,7 @@ CBARGS as the arguments."
1120;;;###autoload 1121;;;###autoload
1121(defalias 'url-http-file-readable-p 'url-http-file-exists-p) 1122(defalias 'url-http-file-readable-p 'url-http-file-exists-p)
1122 1123
1123(defun url-http-head-file-attributes (url) 1124(defun url-http-head-file-attributes (url &optional id-format)
1124 (let ((buffer (url-http-head url)) 1125 (let ((buffer (url-http-head url))
1125 (attributes nil)) 1126 (attributes nil))
1126 (when buffer 1127 (when buffer
@@ -1136,10 +1137,10 @@ CBARGS as the arguments."
1136 attributes)) 1137 attributes))
1137 1138
1138;;;###autoload 1139;;;###autoload
1139(defun url-http-file-attributes (url) 1140(defun url-http-file-attributes (url &optional id-format)
1140 (if (url-dav-supported-p url) 1141 (if (url-dav-supported-p url)
1141 (url-dav-file-attributes url) 1142 (url-dav-file-attributes url id-format)
1142 (url-http-head-file-attributes url))) 1143 (url-http-head-file-attributes url id-format)))
1143 1144
1144;;;###autoload 1145;;;###autoload
1145(defun url-http-options (url) 1146(defun url-http-options (url)
diff --git a/lisp/url/url-https.el b/lisp/url/url-https.el
index 0ea11a45b79..11b2593ea80 100644
--- a/lisp/url/url-https.el
+++ b/lisp/url/url-https.el
@@ -1,26 +1,29 @@
1;;; url-https.el --- HTTP over SSL routines 1;;; url-https.el --- HTTP over SSL routines
2
3;; Copyright (c) 1999, 2004 Free Software Foundation, Inc.
4
2;; Keywords: comm, data, processes 5;; Keywords: comm, data, processes
3 6
4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 7;; This file is part of GNU Emacs.
5;;; Copyright (c) 1999 Free Software Foundation, Inc. 8;;
6;;; 9;; GNU Emacs is free software; you can redistribute it and/or modify
7;;; This file is part of GNU Emacs. 10;; it under the terms of the GNU General Public License as published by
8;;; 11;; the Free Software Foundation; either version 2, or (at your option)
9;;; GNU Emacs is free software; you can redistribute it and/or modify 12;; any later version.
10;;; it under the terms of the GNU General Public License as published by 13;;
11;;; the Free Software Foundation; either version 2, or (at your option) 14;; GNU Emacs is distributed in the hope that it will be useful,
12;;; any later version. 15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; 16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU General Public License for more details.
15;;; but WITHOUT ANY WARRANTY; without even the implied warranty of 18;;
16;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19;; You should have received a copy of the GNU General Public License
17;;; GNU General Public License for more details. 20;; along with GNU Emacs; see the file COPYING. If not, write to the
18;;; 21;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19;;; You should have received a copy of the GNU General Public License 22;; Boston, MA 02111-1307, USA.
20;;; along with GNU Emacs; see the file COPYING. If not, write to the 23
21;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 24;;; Commentary:
22;;; Boston, MA 02111-1307, USA. 25
23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 26;;; Code:
24 27
25(require 'url-gw) 28(require 'url-gw)
26(require 'url-util) 29(require 'url-util)
@@ -45,8 +48,9 @@
45(url-https-create-secure-wrapper nil (url callback cbargs)) 48(url-https-create-secure-wrapper nil (url callback cbargs))
46(url-https-create-secure-wrapper file-exists-p (url)) 49(url-https-create-secure-wrapper file-exists-p (url))
47(url-https-create-secure-wrapper file-readable-p (url)) 50(url-https-create-secure-wrapper file-readable-p (url))
48(url-https-create-secure-wrapper file-attributes (url)) 51(url-https-create-secure-wrapper file-attributes (url &optional id-format))
49 52
50(provide 'url-https) 53(provide 'url-https)
51 54
52;;; arch-tag: c3645ac5-c248-4d12-ad41-7c4b6f7b6d19 55;; arch-tag: c3645ac5-c248-4d12-ad41-7c4b6f7b6d19
56;;; url-https.el ends here
diff --git a/lisp/url/url-nfs.el b/lisp/url/url-nfs.el
index c0ac4f5cb45..d068341b1c2 100644
--- a/lisp/url/url-nfs.el
+++ b/lisp/url/url-nfs.el
@@ -1,27 +1,30 @@
1;;; url-nfs.el --- NFS URL interface 1;;; url-nfs.el --- NFS URL interface
2
3;; Copyright (c) 1996,97,98,1999,2004 Free Software Foundation, Inc.
4;; Copyright (c) 1996 by William M. Perry <wmperry@cs.indiana.edu>
5
2;; Keywords: comm, data, processes 6;; Keywords: comm, data, processes
3 7
4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 8;; This file is part of GNU Emacs.
5;;; Copyright (c) 1996 by William M. Perry <wmperry@cs.indiana.edu> 9;;
6;;; Copyright (c) 1996 - 1999 Free Software Foundation, Inc. 10;; GNU Emacs is free software; you can redistribute it and/or modify
7;;; 11;; it under the terms of the GNU General Public License as published by
8;;; This file is part of GNU Emacs. 12;; the Free Software Foundation; either version 2, or (at your option)
9;;; 13;; any later version.
10;;; GNU Emacs is free software; you can redistribute it and/or modify 14;;
11;;; it under the terms of the GNU General Public License as published by 15;; GNU Emacs is distributed in the hope that it will be useful,
12;;; the Free Software Foundation; either version 2, or (at your option) 16;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; any later version. 17;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; 18;; GNU General Public License for more details.
15;;; GNU Emacs is distributed in the hope that it will be useful, 19;;
16;;; but WITHOUT ANY WARRANTY; without even the implied warranty of 20;; You should have received a copy of the GNU General Public License
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21;; along with GNU Emacs; see the file COPYING. If not, write to the
18;;; GNU General Public License for more details. 22;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19;;; 23;; Boston, MA 02111-1307, USA.
20;;; You should have received a copy of the GNU General Public License 24
21;;; along with GNU Emacs; see the file COPYING. If not, write to the 25;;; Commentary:
22;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 26
23;;; Boston, MA 02111-1307, USA. 27;;; Code:
24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
25 28
26(eval-when-compile (require 'cl)) 29(eval-when-compile (require 'cl))
27(require 'url-parse) 30(require 'url-parse)
@@ -72,14 +75,14 @@ Each can be used any number of times.")
72 (url-file (url-nfs-build-filename url) callback cbargs)) 75 (url-file (url-nfs-build-filename url) callback cbargs))
73 76
74(defmacro url-nfs-create-wrapper (method args) 77(defmacro url-nfs-create-wrapper (method args)
75 (` (defun (, (intern (format "url-nfs-%s" method))) (, args) 78 `(defun ,(intern (format "url-nfs-%s" method)) ,args
76 (, (format "NFS URL wrapper around `%s' call." method)) 79 ,(format "NFS URL wrapper around `%s' call." method)
77 (setq url (url-nfs-build-filename url)) 80 (setq url (url-nfs-build-filename url))
78 (and url ((, (intern (format "url-file-%s" method))) 81 (and url (,(intern (format "url-file-%s" method))
79 (,@ (remove '&rest (remove '&optional args)))))))) 82 ,@(remove '&rest (remove '&optional args))))))
80 83
81(url-nfs-create-wrapper file-exists-p (url)) 84(url-nfs-create-wrapper file-exists-p (url))
82(url-nfs-create-wrapper file-attributes (url)) 85(url-nfs-create-wrapper file-attributes (url &optional id-format))
83(url-nfs-create-wrapper file-symlink-p (url)) 86(url-nfs-create-wrapper file-symlink-p (url))
84(url-nfs-create-wrapper file-readable-p (url)) 87(url-nfs-create-wrapper file-readable-p (url))
85(url-nfs-create-wrapper file-writable-p (url)) 88(url-nfs-create-wrapper file-writable-p (url))
@@ -93,4 +96,5 @@ Each can be used any number of times.")
93 96
94(provide 'url-nfs) 97(provide 'url-nfs)
95 98
96;;; arch-tag: cdf9c9ba-b7d2-4c29-8b48-7ae9bbc0d437 99;; arch-tag: cdf9c9ba-b7d2-4c29-8b48-7ae9bbc0d437
100;;; url-nfs.el ends here
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el
index 49e805086fb..d4a3733eab5 100644
--- a/lisp/url/url-util.el
+++ b/lisp/url/url-util.el
@@ -1,28 +1,31 @@
1;;; url-util.el --- Miscellaneous helper routines for URL library 1;;; url-util.el --- Miscellaneous helper routines for URL library
2
3;; Copyright (c) 1996,97,98,99,2001,2004 Free Software Foundation, Inc.
4;; Copyright (c) 1993 - 1996 by William M. Perry <wmperry@cs.indiana.edu>
5
2;; Author: Bill Perry <wmperry@gnu.org> 6;; Author: Bill Perry <wmperry@gnu.org>
3;; Keywords: comm, data, processes 7;; Keywords: comm, data, processes
4 8
5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 9;; This file is part of GNU Emacs.
6;;; Copyright (c) 1993 - 1996 by William M. Perry <wmperry@cs.indiana.edu> 10;;
7;;; Copyright (c) 1996, 97, 98, 99, 2001 Free Software Foundation, Inc. 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;;; 12;; it under the terms of the GNU General Public License as published by
9;;; This file is part of GNU Emacs. 13;; the Free Software Foundation; either version 2, or (at your option)
10;;; 14;; any later version.
11;;; GNU Emacs is free software; you can redistribute it and/or modify 15;;
12;;; it under the terms of the GNU General Public License as published by 16;; GNU Emacs is distributed in the hope that it will be useful,
13;;; the Free Software Foundation; either version 2, or (at your option) 17;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; any later version. 18;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; 19;; GNU General Public License for more details.
16;;; GNU Emacs is distributed in the hope that it will be useful, 20;;
17;;; but WITHOUT ANY WARRANTY; without even the implied warranty of 21;; You should have received a copy of the GNU General Public License
18;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22;; along with GNU Emacs; see the file COPYING. If not, write to the
19;;; GNU General Public License for more details. 23;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20;;; 24;; Boston, MA 02111-1307, USA.
21;;; You should have received a copy of the GNU General Public License 25
22;;; along with GNU Emacs; see the file COPYING. If not, write to the 26;;; Commentary:
23;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 27
24;;; Boston, MA 02111-1307, USA. 28;;; Code:
25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26 29
27(require 'url-parse) 30(require 'url-parse)
28(autoload 'timezone-parse-date "timezone") 31(autoload 'timezone-parse-date "timezone")
@@ -63,8 +66,7 @@ If a list, it is a list of the types of messages to be logged."
63 (if (or (eq url-debug t) 66 (if (or (eq url-debug t)
64 (numberp url-debug) 67 (numberp url-debug)
65 (and (listp url-debug) (memq tag url-debug))) 68 (and (listp url-debug) (memq tag url-debug)))
66 (save-excursion 69 (with-current-buffer (get-buffer-create "*URL-DEBUG*")
67 (set-buffer (get-buffer-create "*URL-DEBUG*"))
68 (goto-char (point-max)) 70 (goto-char (point-max))
69 (insert (symbol-name tag) " -> " (apply 'format args) "\n") 71 (insert (symbol-name tag) " -> " (apply 'format args) "\n")
70 (if (numberp url-debug) 72 (if (numberp url-debug)
@@ -173,7 +175,7 @@ Strips out default port numbers, etc."
173;;;###autoload 175;;;###autoload
174(defun url-lazy-message (&rest args) 176(defun url-lazy-message (&rest args)
175 "Just like `message', but is a no-op if called more than once a second. 177 "Just like `message', but is a no-op if called more than once a second.
176Will not do anything if url-show-status is nil." 178Will not do anything if `url-show-status' is nil."
177 (if (or (null url-show-status) 179 (if (or (null url-show-status)
178 (active-minibuffer-window) 180 (active-minibuffer-window)
179 (= url-lazy-message-time 181 (= url-lazy-message-time
@@ -502,4 +504,5 @@ Has a preference for looking backward when not directly on a symbol."
502 504
503(provide 'url-util) 505(provide 'url-util)
504 506
505;;; arch-tag: 24352abc-5a5a-412e-90cd-313b26bed5c9 507;; arch-tag: 24352abc-5a5a-412e-90cd-313b26bed5c9
508;;; url-util.el ends here