bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46176: 27.1; Display problem in minibuffer overlay when using displa


From: Clemens
Subject: bug#46176: 27.1; Display problem in minibuffer overlay when using display property
Date: Fri, 29 Jan 2021 18:42:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

When using an overlay `after-string` which uses the `display` property
the string uses the minibuffer prompt face for some reason:


(minibuffer-with-setup-hook
    (lambda ()
      (overlay-put
       (make-overlay (point-max) (point-max) nil t t)
       'after-string (propertize "world" 'display " minibuffer"
                                 'face 'warning)))
  (read-string "Hello"))


I would expect the string " minibuffer" to be displayed like when using:

(minibuffer-with-setup-hook
    (lambda ()
      (overlay-put
       (make-overlay (point-max) (point-max) nil t t)
       'after-string (propertize " minibuffer" 'face 'warning)))
  (read-string "Hello"))







reply via email to

[Prev in Thread] Current Thread [Next in Thread]