changeset 63814:db398a23f0d0

(facemenu-add-face): Warn when font-lock is active.
author Richard M. Stallman <rms@gnu.org>
date Tue, 28 Jun 2005 18:55:48 +0000
parents e907a265ffd8
children 015343385a78
files lisp/facemenu.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/facemenu.el	Tue Jun 28 18:55:00 2005 +0000
+++ b/lisp/facemenu.el	Tue Jun 28 18:55:48 2005 +0000
@@ -611,7 +611,9 @@
 						  self-insert-face
 						(list self-insert-face)))
 				 face)
-	      self-insert-face-command this-command)))))
+	      self-insert-face-command this-command))))
+  (unless (facemenu-enable-faces-p)
+    (message "Font-lock mode will override any faces you set in this buffer")))
 
 (defun facemenu-active-faces (face-list &optional frame)
   "Return from FACE-LIST those faces that would be used for display.