aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-11-28 08:28:15 +0000
committerGlenn Morris <[email protected]>2007-11-28 08:28:15 +0000
commite05661923e3f7cba7f9e72ddf5073aaec0f9c82b (patch)
tree54061669c6bbf2202116e63c14a9322c5cfee42f /lisp/url
parentb55d4a5d1c40e9e15887d32da570ee365d249879 (diff)
Diane Murray <disumu at x3y2z1.net>
Don't require w3-fetch and w3-open-local. (url-dired-find-file): Use `find-file'. Doc fix. (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog6
-rw-r--r--lisp/url/url-dired.el13
2 files changed, 10 insertions, 9 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 7402de41aa..241746162d 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-28 Diane Murray <[email protected]>
+
+ * url-dired.el: Don't require w3-fetch and w3-open-local.
+ (url-dired-find-file): Use `find-file'. Doc fix.
+ (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
+
2007-11-15 Richard Stallman <[email protected]>
* url.el (url-retrieve-synchronously): Call delete-process.
diff --git a/lisp/url/url-dired.el b/lisp/url/url-dired.el
index 189628468b..93c9944755 100644
--- a/lisp/url/url-dired.el
+++ b/lisp/url/url-dired.el
@@ -24,8 +24,6 @@
;;; Code:
-(autoload 'w3-fetch "w3")
-(autoload 'w3-open-local "w3")
(autoload 'dired-get-filename "dired")
(defvar url-dired-minor-mode-map
@@ -41,22 +39,19 @@
(make-variable-buffer-local 'url-dired-minor-mode)
(defun url-dired-find-file ()
- "In dired, visit the file or directory named on this line, using Emacs-W3."
+ "In dired, visit the file or directory named on this line."
(interactive)
(let ((filename (dired-get-filename)))
- (cond ((string-match "/\\(.*@.*\\):\\(/.*\\)" filename)
- (w3-fetch (concat "file://" (match-string 1 filename) (match-string 2 filename))))
- (t
- (w3-open-local filename)))))
+ (find-file filename)))
(defun url-dired-find-file-mouse (event)
- "In dired, visit the file or directory name you click on, using Emacs-W3."
+ "In dired, visit the file or directory name you click on."
(interactive "@e")
(mouse-set-point event)
(url-dired-find-file))
(defun url-dired-minor-mode (&optional arg)
- "Minor mode for directory browsing with Emacs-W3."
+ "Minor mode for directory browsing."
(interactive "P")
(cond
((null arg)