aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net/quickurl.el
diff options
context:
space:
mode:
authorEli Zaretskii2001-06-17 11:47:54 +0000
committerEli Zaretskii2001-06-17 11:47:54 +0000
commitd36ca65d654dbe3cd25ceb3e26962dd88f48883b (patch)
treedbb29e856a7346aa255f45847fd90ffc7c8f776c /lisp/net/quickurl.el
parent092924fd73ac6caabbdb854fd0b307277e254937 (diff)
downloademacs-d36ca65d654dbe3cd25ceb3e26962dd88f48883b.tar.gz
emacs-d36ca65d654dbe3cd25ceb3e26962dd88f48883b.zip
(quickurl-url-file): Run through convert-standard-filename.
(quickurl-list-populate-buffer): Add help-echo to mouse-highlighted text. (top level): Update Dave's URL.
Diffstat (limited to 'lisp/net/quickurl.el')
-rw-r--r--lisp/net/quickurl.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index 6d47bcb65b9..4076c5ae7f2 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -1,6 +1,6 @@
1;;; quickurl.el --- Insert an URL based on text at point in buffer. 1;;; quickurl.el --- Insert an URL based on text at point in buffer.
2 2
3;; Copyright (C) 1999,2000 Free Software Foundation, Inc. 3;; Copyright (C) 1999,2000,2001 Free Software Foundation, Inc.
4 4
5;; Author: Dave Pearson <davep@davep.org> 5;; Author: Dave Pearson <davep@davep.org>
6;; Maintainer: Dave Pearson <davep@davep.org> 6;; Maintainer: Dave Pearson <davep@davep.org>
@@ -59,7 +59,7 @@
59;; (("GNU" . "http://www.gnu.org/") 59;; (("GNU" . "http://www.gnu.org/")
60;; ("FSF" "http://www.fsf.org/" "The Free Software Foundation") 60;; ("FSF" "http://www.fsf.org/" "The Free Software Foundation")
61;; ("emacs" . "http://www.emacs.org/") 61;; ("emacs" . "http://www.emacs.org/")
62;; ("hagbard" "http://www.hagbard.demon.co.uk" "Hagbard's World")) 62;; ("davep" "http://www.davep.org/" "Dave's homepage"))
63;; 63;;
64;; In case you're wondering about the mixture of cons cells and lists, 64;; In case you're wondering about the mixture of cons cells and lists,
65;; quickurl started life using just the cons cells, there were no comments. 65;; quickurl started life using just the cons cells, there were no comments.
@@ -105,7 +105,7 @@
105 :group 'abbrev 105 :group 'abbrev
106 :prefix "quickurl-") 106 :prefix "quickurl-")
107 107
108(defcustom quickurl-url-file "~/.quickurls" 108(defcustom quickurl-url-file (convert-standard-filename "~/.quickurls")
109 "*File that contains the URL list." 109 "*File that contains the URL list."
110 :type 'file 110 :type 'file
111 :group 'quickurl) 111 :group 'quickurl)
@@ -482,8 +482,9 @@ The key bindings for `quickurl-list-mode' are:
482 do (let ((start (point))) 482 do (let ((start (point)))
483 (insert (format fmt (quickurl-url-description url) 483 (insert (format fmt (quickurl-url-description url)
484 (quickurl-url-url url))) 484 (quickurl-url-url url)))
485 (put-text-property start (1- (point)) 485 (add-text-properties start (1- (point))
486 'mouse-face 'highlight))) 486 '(mouse-face highlight
487 help-echo "mouse-2: insert this URL"))))
487 (setf (point) (point-min))))) 488 (setf (point) (point-min)))))
488 489
489(defun quickurl-list-add-url (word url comment) 490(defun quickurl-list-add-url (word url comment)