diff options
| author | Glenn Morris | 2012-12-12 17:39:29 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-12-12 17:39:29 -0500 |
| commit | 4c74b1e4657559c6edece6b978189fa4e68774c2 (patch) | |
| tree | e96ec6b4a92224835c8b8c6a6c826eb554b04d0a | |
| parent | 202c16d5f5f7d64026f4d0a7e4bb106ea7dbfff1 (diff) | |
| download | emacs-4c74b1e4657559c6edece6b978189fa4e68774c2.tar.gz emacs-4c74b1e4657559c6edece6b978189fa4e68774c2.zip | |
* lisp/button.el (button--area-button-p): Fix typo (defun is not defalias).
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/button.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index adf8d9f88f0..3d3892a12be 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-12-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * button.el (button--area-button-p): Fix typo. | ||
| 4 | |||
| 1 | 2012-12-12 Sam Steingold <sds@gnu.org> | 5 | 2012-12-12 Sam Steingold <sds@gnu.org> |
| 2 | 6 | ||
| 3 | * frame.el (frame-maximization-style): New user option. | 7 | * frame.el (frame-maximization-style): New user option. |
diff --git a/lisp/button.el b/lisp/button.el index f15f09f24db..f93d08f2e3d 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -258,9 +258,10 @@ header-line) a string." | |||
| 258 | "Return t if BUTTON has button-type TYPE, or one of TYPE's subtypes." | 258 | "Return t if BUTTON has button-type TYPE, or one of TYPE's subtypes." |
| 259 | (button-type-subtype-p (button-get button 'type) type)) | 259 | (button-type-subtype-p (button-get button 'type) type)) |
| 260 | 260 | ||
| 261 | (defun button--area-button-p (b) (stringp (car-safe b)) | 261 | (defun button--area-button-p (b) |
| 262 | "Return non-nil if BUTTON is an area button. | 262 | "Return non-nil if BUTTON is an area button. |
| 263 | Such area buttons are used for buttons in the mode-line and header-line.") | 263 | Such area buttons are used for buttons in the mode-line and header-line." |
| 264 | (stringp (car-safe b))) | ||
| 264 | 265 | ||
| 265 | (defalias 'button--area-button-string #'car | 266 | (defalias 'button--area-button-string #'car |
| 266 | "Return area button BUTTON's button-string.") | 267 | "Return area button BUTTON's button-string.") |