emacs-devel
[Top][All Lists]
Advanced

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

[BUG] Empty string as display property


From: Lars Hansen
Subject: [BUG] Empty string as display property
Date: Fri, 13 May 2005 17:36:51 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

An empty string as display property has the advantage over the invisible
property that it can be made conditional. However, an empty string as
display property does not work. Try this:

(defun test ()
  (interactive)
  (select-window (display-buffer (get-buffer-create "*test*")))
  (erase-buffer)
  (insert "line 1\naaa"
          (propertize "bbb" 'display "")
          "ccc\nline 3"))

Maybe someone who knows the redisplay code would like to look at this bug.





reply via email to

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