summaryrefslogtreecommitdiff
path: root/lisp/button.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-03-25 15:58:59 +0800
committerChong Yidong <cyd@gnu.org>2012-03-25 15:58:59 +0800
commit9a69676ae6edeaa03930ccba6410a3e6d7f34596 (patch)
tree886f2737cb5e3b3bcd01856197dcbd747231d311 /lisp/button.el
parent8a0c01dd25dabf60ace651c7acfa1a5e326458e8 (diff)
downloademacs-9a69676ae6edeaa03930ccba6410a3e6d7f34596.tar.gz
Updates to Display chapter of Lisp manual.
* doc/lispref/display.texi (Fringes): Note that fringes are shown on graphical displays only. (Fringe Size/Pos, Fringe Bitmaps, Making Buttons): Clarifications. (Replacing Specs): Clarify example. (Manipulating Buttons): Note that button-at can return a marker. (Buttons): Minor rewrite. (Character Display): New node. Consolidate all character display related nodes into its subsections. (Usual Display): Character 127 is also affected by ctl-arrow. (Display Tables): Improve example. * lisp/button.el (button-at): Minor addition to docstring.
Diffstat (limited to 'lisp/button.el')
-rw-r--r--lisp/button.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el
index 07c98e668bd..3cf38fa64c6 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -349,7 +349,9 @@ Also see `make-text-button'."
;; Finding buttons in a buffer
(defun button-at (pos)
- "Return the button at position POS in the current buffer, or nil."
+ "Return the button at position POS in the current buffer, or nil.
+If the button at POS is a text property button, the return value
+is a marker pointing to POS."
(let ((button (get-char-property pos 'button)))
(if (or (overlayp button) (null button))
button