emacs-devel
[Top][All Lists]
Advanced

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

Re: Cannot propertize mode-name


From: Kim F. Storm
Subject: Re: Cannot propertize mode-name
Date: 08 Nov 2002 15:08:58 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Juanma Barranquero <address@hidden> writes:

> This:
> 
>  (setq mode-name (propertize "my-mode" 'display '(height (+ 5))))
> 
> used to make the mode-name display in a bigger size. In the trunk it
> doesn't work anymore.

Indeed.  

Also, format-mode-line doesn't return the propertized string
which indicates a generic problem with non-face properties on
strings in the mode line:

(setq mode-name (propertize "my-mode" 'display '(height (+ 5))))
#("my-mode" 0 7 (display (height (+ 5))))
(format-mode-line '((t mode-name)))
"my-mode"


-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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