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
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: mapI am no expert in Emacs, so I have no idea what the error is about.ThanksKourosh
|