From 9a69676ae6edeaa03930ccba6410a3e6d7f34596 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 25 Mar 2012 15:58:59 +0800 Subject: 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. --- lisp/button.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/button.el') 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 -- cgit v1.2.1