diff options
| author | Miles Bader | 2001-10-08 14:18:11 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-08 14:18:11 +0000 |
| commit | 62dc75c498dd3c0a08caccc10913402d01c993d3 (patch) | |
| tree | 90e39b5aa3759aeb2b745c65652fb16a77a1b489 /lisp/button.el | |
| parent | 0c4d9527dd66841f3c42f0405dc0f70415618e19 (diff) | |
| download | emacs-62dc75c498dd3c0a08caccc10913402d01c993d3.tar.gz emacs-62dc75c498dd3c0a08caccc10913402d01c993d3.zip | |
(button-nop): Function removed.
(default-button): Use `ignore' as default button action.
Diffstat (limited to 'lisp/button.el')
| -rw-r--r-- | lisp/button.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/button.el b/lisp/button.el index 3345015f9b8..f18a4bfffc3 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -75,7 +75,7 @@ Mode-specific keymaps may want to use this as their parent keymap.") | |||
| 75 | (put 'default-button 'mouse-face 'highlight) | 75 | (put 'default-button 'mouse-face 'highlight) |
| 76 | (put 'default-button 'keymap button-map) | 76 | (put 'default-button 'keymap button-map) |
| 77 | (put 'default-button 'type 'button) | 77 | (put 'default-button 'type 'button) |
| 78 | (put 'default-button 'action 'button-nop) | 78 | (put 'default-button 'action 'ignore) |
| 79 | (put 'default-button 'help-echo "mouse-2, RET: Push this button") | 79 | (put 'default-button 'help-echo "mouse-2, RET: Push this button") |
| 80 | ;; Make overlay buttons go away if their underlying text is deleted. | 80 | ;; Make overlay buttons go away if their underlying text is deleted. |
| 81 | (put 'default-button 'evaporate t) | 81 | (put 'default-button 'evaporate t) |
| @@ -86,11 +86,6 @@ Mode-specific keymaps may want to use this as their parent keymap.") | |||
| 86 | ;; they inherit this. | 86 | ;; they inherit this. |
| 87 | (put 'default-button 'button t) | 87 | (put 'default-button 'button t) |
| 88 | 88 | ||
| 89 | ;; This is the default button action. | ||
| 90 | (defun button-nop (button) | ||
| 91 | "Do nothing to BUTTON." | ||
| 92 | nil) | ||
| 93 | |||
| 94 | 89 | ||
| 95 | ;; Button types (which can be used to hold default properties for buttons) | 90 | ;; Button types (which can be used to hold default properties for buttons) |
| 96 | 91 | ||