diff options
| author | Chong Yidong | 2009-04-07 00:46:11 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-04-07 00:46:11 +0000 |
| commit | e762149473e52db3fbaa87cedbf095ab690fc53c (patch) | |
| tree | 863fa8911e06dddafde8bdd8b9b423724572df23 | |
| parent | 707731ee86e8f6caed52cb94384f99abb6566d8d (diff) | |
| download | emacs-e762149473e52db3fbaa87cedbf095ab690fc53c.tar.gz emacs-e762149473e52db3fbaa87cedbf095ab690fc53c.zip | |
* descr-text.el (describe-property-list, describe-char): Add
follow-link properties to buttons that need them.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/descr-text.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 37e9a9284cf..c16ce2153d4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | 2009-04-06 Chong Yidong <cyd@stupidchicken.com> | 1 | 2009-04-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | |||
| 3 | * descr-text.el (describe-property-list, describe-char): Add | ||
| 4 | follow-link properties to buttons that need them. | ||
| 2 | 5 | ||
| 3 | * tooltip.el (tooltip-show-help-non-mode): Don't save the last | 6 | * tooltip.el (tooltip-show-help-non-mode): Don't save the last |
| 4 | message if it was also a help message (Bug#2895). | 7 | message if it was also a help message (Bug#2895). |
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 5234a4f9a9a..b559a1391fd 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -84,6 +84,7 @@ into help buttons that call `describe-text-category' or | |||
| 84 | (symbol-name value) | 84 | (symbol-name value) |
| 85 | 'action `(lambda (&rest ignore) | 85 | 'action `(lambda (&rest ignore) |
| 86 | (describe-text-category ',value)) | 86 | (describe-text-category ',value)) |
| 87 | 'follow-link t | ||
| 87 | 'help-echo "mouse-2, RET: describe this category")) | 88 | 'help-echo "mouse-2, RET: describe this category")) |
| 88 | ((memq key '(face font-lock-face mouse-face)) | 89 | ((memq key '(face font-lock-face mouse-face)) |
| 89 | (insert-text-button | 90 | (insert-text-button |
| @@ -513,6 +514,7 @@ as well as widgets, buttons, overlays, and text properties." | |||
| 513 | (if (search-forward ,(char-to-string char) | 514 | (if (search-forward ,(char-to-string char) |
| 514 | nil t) | 515 | nil t) |
| 515 | (goto-char (match-beginning 0)))))) | 516 | (goto-char (match-beginning 0)))))) |
| 517 | 'follow-link t | ||
| 516 | 'help-echo | 518 | 'help-echo |
| 517 | "mouse-2, RET: show this character in its character set") | 519 | "mouse-2, RET: show this character in its character set") |
| 518 | str))) | 520 | str))) |
| @@ -727,7 +729,8 @@ as well as widgets, buttons, overlays, and text properties." | |||
| 727 | "customize what to show" | 729 | "customize what to show" |
| 728 | 'action (lambda (&rest ignore) | 730 | 'action (lambda (&rest ignore) |
| 729 | (customize-variable | 731 | (customize-variable |
| 730 | 'describe-char-unidata-list))) | 732 | 'describe-char-unidata-list)) |
| 733 | 'follow-link t) | ||
| 731 | (insert "\n") | 734 | (insert "\n") |
| 732 | (dolist (elt (if (eq describe-char-unidata-list t) | 735 | (dolist (elt (if (eq describe-char-unidata-list t) |
| 733 | (nreverse (mapcar 'car char-code-property-alist)) | 736 | (nreverse (mapcar 'car char-code-property-alist)) |