"Kourosh Kalayeh" <[email protected]> writes:

> Ivan, thank you for email.
>
>
>> You can see what face it's using with the function below.  That
>> might give some clues.
>>
>> -Ivan
>>
>> (defun fontification-at-point (p)
>>   (interactive "d")
>>   (sit-for 0)
>>   (message "Text properties: %s\nOverlays: %s"
>>            (text-properties-at p)
>>            (map 'list
>>                 (lambda (ov)
>>                   (overlay-properties ov))
>>                 (overlays-at p))))
>>
>
> I tried the function.  Emacs gives me the following error;
> Symbol’s function definition is void: map

,----[ C-h f map RET ]
| map is an alias for ‘cl-map’ in ‘cl.el’.
| 
| (map TYPE FUNCTION SEQUENCE...)
| 
| Map a FUNCTION across one or more SEQUENCEs, returning a sequence.
| TYPE is the sequence type to return.
`----

It should be sufficient to eval (require 'cl), i.e. put this line in
scratch and hit `C-x C-e' after ), before you eval that function.

As an alternative, you can put the cursor at a caret and hit
`C-u C-x =',then look for lines after "There are text properties
here:".

HTH.  Best, Arash

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to