bug-gnu-emacs
[Top][All Lists]
Advanced

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

[patch] 21.1 CVS dired.el -- Added support for browse-url


From: Jari Aalto+mail.emacs
Subject: [patch] 21.1 CVS dired.el -- Added support for browse-url
Date: Sat, 12 Jan 2002 15:29:10 +0200

2002-01-12 Sat  Jari Aalto  <address@hidden>

        * dired.el (dired-mode-map): Added autoload
        browse-url-of-dired-file and a `W' key to call
        Browse url. Useful for for .html .htm files.

--- dired.el.1.219      Sat Jan 12 15:25:18 2002
+++ dired.el    Sat Jan 12 15:26:26 2002
@@ -37,6 +37,8 @@
 
 ;;; Customizable variables
 
+(autoload 'browse-url-of-dired-file "browse-url" "" t)
+
 (defgroup dired nil
   "Directory editing."
   :group 'environment)
@@ -920,6 +922,7 @@
     (define-key map "u" 'dired-unmark)
     (define-key map "v" 'dired-view-file)
     (define-key map "w" 'dired-copy-filename-as-kill)
+    (define-key map "W" 'browse-url-of-dired-file)
     (define-key map "x" 'dired-do-flagged-delete)
     (define-key map "y" 'dired-show-file-type)
     (define-key map "+" 'dired-create-directory)




reply via email to

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