diff options
author | Chong Yidong <cyd@gnu.org> | 2012-08-20 19:12:16 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-08-20 19:12:16 +0800 |
commit | a05731a0cc2553af0469bd9b7d6ac10cd2e6a817 (patch) | |
tree | 7c35a174702f432b9d590d7c2e704f3faebb04b3 /lisp/descr-text.el | |
parent | a6342fc83511b1c4bff8e7f1dce42e8c7edb70b0 (diff) | |
download | emacs-a05731a0cc2553af0469bd9b7d6ac10cd2e6a817.tar.gz |
Make C-u C-x = report on empty overlays at point.
* lisp/descr-text.el (describe-text-properties-1): Use overlays-in to
report on empty overlays.
Fixes: debbugs:3322
Diffstat (limited to 'lisp/descr-text.el')
-rw-r--r-- | lisp/descr-text.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 34d61b80d66..0c7f82d516e 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -140,7 +140,7 @@ otherwise." (defun describe-text-properties-1 (pos output-buffer) (let* ((properties (text-properties-at pos)) - (overlays (overlays-at pos)) + (overlays (overlays-in pos (1+ pos))) (wid-field (get-char-property pos 'field)) (wid-button (get-char-property pos 'button)) (wid-doc (get-char-property pos 'widget-doc)) |