auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Carets and underscores become red occasionally in math mode


From: Ivan Andrus
Subject: Re: [AUCTeX] Carets and underscores become red occasionally in math mode .
Date: Wed, 22 Aug 2018 19:04:44 -0600

Sorry, that's in the cl-extra package.  You can change it to cl-map and it should work (it's autoloaded).  Alternately you can run (require 'cl) before running the function.  I've had that in my .emacs for so long, that I forgot about it.  I should have tested in emacs -q.  I apologize.

-Ivan

On Aug 20, 2018, at 6:35 PM, Kourosh Kalayeh <address@hidden> wrote:

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

I am no expert in Emacs, so I have no idea what the error is about.

Thanks
Kourosh


reply via email to

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