]> code.delx.au - gnu-emacs/commitdiff
* lisp/button.el (button--area-button-p): Fix typo (defun is not defalias).
authorGlenn Morris <rgm@gnu.org>
Wed, 12 Dec 2012 22:39:29 +0000 (17:39 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 12 Dec 2012 22:39:29 +0000 (17:39 -0500)
lisp/ChangeLog
lisp/button.el

index adf8d9f88f0e5c623995c62bc5d9bdeb76fc4cec..3d3892a12beaa411aea2861cf039bf01d37c21f4 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-12  Glenn Morris  <rgm@gnu.org>
+
+       * button.el (button--area-button-p): Fix typo.
+
 2012-12-12  Sam Steingold  <sds@gnu.org>
 
        * frame.el (frame-maximization-style): New user option.
index f15f09f24db0574ef853da900647105cb10dabec..f93d08f2e3d103d185d0e4fa4746bcb9abaea34d 100644 (file)
@@ -258,9 +258,10 @@ header-line) a string."
   "Return t if BUTTON has button-type TYPE, or one of TYPE's subtypes."
   (button-type-subtype-p (button-get button 'type) type))
 
-(defun button--area-button-p (b) (stringp (car-safe b))
+(defun button--area-button-p (b)
   "Return non-nil if BUTTON is an area button.
-Such area buttons are used for buttons in the mode-line and header-line.")
+Such area buttons are used for buttons in the mode-line and header-line."
+  (stringp (car-safe b)))
 
 (defalias 'button--area-button-string #'car
   "Return area button BUTTON's button-string.")