diff options
| author | Miles Bader | 2001-10-12 01:58:02 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-12 01:58:02 +0000 |
| commit | 07f904a3f27c8a3269c95e97ccc90fb46b1071c2 (patch) | |
| tree | e79bb2892a9e2bb645a093b5c1bac9b69d2fb230 | |
| parent | 8940232b59e731da8c5ba1742fb467839d7d329b (diff) | |
| download | emacs-07f904a3f27c8a3269c95e97ccc90fb46b1071c2.tar.gz emacs-07f904a3f27c8a3269c95e97ccc90fb46b1071c2.zip | |
(help-customize-face): New button-type.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/help-mode.el | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73a2b6a8a50..19879d3d371 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2001-10-12 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * help-mode.el (help-customize-face): New button-type. | ||
| 4 | * faces.el (list-faces-display): Fix args to `help-xref-button'. | ||
| 5 | (describe-face): Fix args to `help-xref-button'. | ||
| 6 | Don't switch to help-buffer around call to `help-setup-xref'. | ||
| 7 | Use `help-buffer' instead of hard-wired "*Help*". | ||
| 8 | Require `help-mode'. | ||
| 9 | |||
| 1 | 2001-10-11 Stefan Monnier <monnier@cs.yale.edu> | 10 | 2001-10-11 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 11 | ||
| 3 | * net/goto-addr.el (goto-address-mail-regexp): Allow + in username. | 12 | * net/goto-addr.el (goto-address-mail-regexp): Allow + in username. |
| @@ -26,7 +35,7 @@ | |||
| 26 | (describe-bindings): Call help-setup-xref earlier. | 35 | (describe-bindings): Call help-setup-xref earlier. |
| 27 | (describe-key): Call help-setup-xref. Fix call to describe-function-1. | 36 | (describe-key): Call help-setup-xref. Fix call to describe-function-1. |
| 28 | (describe-mode): Don't autoload. Call help-setup-xref earlier. | 37 | (describe-mode): Don't autoload. Call help-setup-xref earlier. |
| 29 | 38 | ||
| 30 | 2001-10-11 Gerd Moellmann <gerd@gnu.org> | 39 | 2001-10-11 Gerd Moellmann <gerd@gnu.org> |
| 31 | 40 | ||
| 32 | * master.el (master-mode): Use define-minor-mode instead of | 41 | * master.el (master-mode): Use define-minor-mode instead of |
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 79aa2033bc7..d42bd9ff30d 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -97,6 +97,14 @@ The format is (FUNCTION ARGS...).") | |||
| 97 | 'help-echo (purecopy "mouse-2, RET: customize variable") | 97 | 'help-echo (purecopy "mouse-2, RET: customize variable") |
| 98 | 'action #'help-button-action) | 98 | 'action #'help-button-action) |
| 99 | 99 | ||
| 100 | (define-button-type 'help-customize-face | ||
| 101 | 'help-function (lambda (v) | ||
| 102 | (if help-xref-stack | ||
| 103 | (pop help-xref-stack)) | ||
| 104 | (customize-face v)) | ||
| 105 | 'help-echo (purecopy "mouse-2, RET: customize face") | ||
| 106 | 'action #'help-button-action) | ||
| 107 | |||
| 100 | (define-button-type 'help-function-def | 108 | (define-button-type 'help-function-def |
| 101 | 'help-function (lambda (fun file) | 109 | 'help-function (lambda (fun file) |
| 102 | (require 'find-func) | 110 | (require 'find-func) |