diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/quickurl.el | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e1401575946..2939f0e743f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2001-06-17 Eli Zaretskii <eliz@is.elta.co.il> | 1 | 2001-06-17 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 2 | ||
| 3 | * net/quickurl.el (quickurl-url-file): Run through | ||
| 4 | convert-standard-filename. | ||
| 5 | (quickurl-list-populate-buffer): Add help-echo to | ||
| 6 | mouse-highlighted text. | ||
| 7 | (top-level): Update Dave's URL. | ||
| 8 | |||
| 3 | * textmodes/tex-mode.el (tex-validate-buffer): Add help-echo to | 9 | * textmodes/tex-mode.el (tex-validate-buffer): Add help-echo to |
| 4 | mouse-highlighted text. | 10 | mouse-highlighted text. |
| 5 | 11 | ||
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) |