summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 4db0aae25ad..3cd46bf284c 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1054,9 +1054,9 @@ in *Help* buffer. See also the command `describe-char'."
;; Check if the character is displayed with some `display'
;; text property. In that case, set under-display to the
;; buffer substring covered by that property.
- (setq display-prop (get-text-property pos 'display))
+ (setq display-prop (get-char-property pos 'display))
(if display-prop
- (let ((to (or (next-single-property-change pos 'display)
+ (let ((to (or (next-single-char-property-change pos 'display)
(point-max))))
(if (< to (+ pos 4))
(setq under-display "")