aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorErik Naggum1995-10-15 03:09:16 +0000
committerErik Naggum1995-10-15 03:09:16 +0000
commit0521259a338b58b9f796bf1b6eb2dbb294d58fbb (patch)
tree571900d05fccefdd05d5473419b7875b0b391a32 /lisp
parent49bb98339439768d96564ad29f70adbc14ad2115 (diff)
downloademacs-0521259a338b58b9f796bf1b6eb2dbb294d58fbb.tar.gz
emacs-0521259a338b58b9f796bf1b6eb2dbb294d58fbb.zip
Repair line wrapping damage.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/browse-url.el17
1 files changed, 6 insertions, 11 deletions
diff --git a/lisp/browse-url.el b/lisp/browse-url.el
index e99462a0e4d..2a8072f508f 100644
--- a/lisp/browse-url.el
+++ b/lisp/browse-url.el
@@ -103,8 +103,7 @@
103;; (autoload 'browse-url-of-file "browse-url" 103;; (autoload 'browse-url-of-file "browse-url"
104;; "Ask a WWW browser to display FILE." t) 104;; "Ask a WWW browser to display FILE." t)
105;; (autoload 'browse-url-of-dired-file "browse-url" 105;; (autoload 'browse-url-of-dired-file "browse-url"
106;; "In Dired, ask a WWW browser to display the file named on this line." 106;; "In Dired, ask a WWW browser to display the file named on this line." t)
107t)
108 107
109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
110;; Usage 109;; Usage
@@ -133,9 +132,8 @@ t)
133;; (global-set-key "\C-cub" 'browse-url-of-buffer) 132;; (global-set-key "\C-cub" 'browse-url-of-buffer)
134;; (global-set-key "\C-cuf" 'browse-url-of-file) 133;; (global-set-key "\C-cuf" 'browse-url-of-file)
135;; (add-hook 'dired-mode-hook 134;; (add-hook 'dired-mode-hook
136;; (function (lambda () 135;; (lambda ()
137;; (local-set-key "\C-cuf" 136;; (local-set-key "\C-cuf" 'browse-url-of-dired-file))))
138'browse-url-of-dired-file))))
139;; (if (boundp 'browse-url-browser-function) 137;; (if (boundp 'browse-url-browser-function)
140;; (global-set-key "\C-cuu" browse-url-browser-function) 138;; (global-set-key "\C-cuu" browse-url-browser-function)
141;; (eval-after-load 139;; (eval-after-load
@@ -162,10 +160,8 @@ t)
162;; (let ((local-write-file-hooks)) 160;; (let ((local-write-file-hooks))
163;; (save-buffer)) 161;; (save-buffer))
164;; (browse-url-netscape-reload) 162;; (browse-url-netscape-reload)
165;; t)) ; => file written 163;; t)) ; => file written by hook
166by hook 164;; t)))) ; append to l-w-f-hooks
167;; t)))) ; append to
168l-w-f-hooks
169;; 165;;
170;; [Does this work for html-mode too?] 166;; [Does this work for html-mode too?]
171;; 167;;
@@ -274,8 +270,7 @@ l-w-f-hooks
274;;; Code: 270;;; Code:
275 271
276(defvar browse-url-regexp 272(defvar browse-url-regexp
277 "\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mai 273 "\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mailto:\\)[^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+"
278lto:\\)[^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+"
279 "A regular expression probably matching a URL.") 274 "A regular expression probably matching a URL.")
280 275
281(defvar browse-url-browser-function 276(defvar browse-url-browser-function