[Python-mode] [ python-mode-Patches-1466941 ] Use defface, not make-face, for creating font lock faces

SourceForge.net noreply at sourceforge.net
Sat Apr 8 20:25:02 CEST 2006


Patches item #1466941, was opened at 2006-04-08 21:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=1466941&group_id=86916

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Osku Salerma (osku_salerma)
Assigned to: Nobody/Anonymous (nobody)
Summary: Use defface, not make-face, for creating font lock faces

Initial Comment:
The normal way of customizing font lock faces does not
work with python-mode since it does not use the defface
function. The attached patch against python-mode 4.7
fixes this, and one can now use customize-faces to
customize python-mode's faces.

This is tested on emacs 21.4; I have no idea if xemacs
support this or not.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=1466941&group_id=86916


More information about the Python-mode mailing list