summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2013-01-06 17:48:39 +0100
committerAchim Gratz <Stromeko@Stromeko.DE>2013-01-06 18:28:24 +0100
commitd524e7d6112cda2b53e3e0822609fa81b2dd6ee9 (patch)
treef679aece0f8da59d99198cf97d4def1b4ba169f0
parent4e2f6d7d8f870f834079ce010eb2049d61bb5576 (diff)
downloadorg-mode-d524e7d6112cda2b53e3e0822609fa81b2dd6ee9.tar.gz
Compatibility: Define face alias mode-line for XEmacs
* lisp/org-faces.el: Define face alias mode-line for XEmacs (it's called modeline there).
-rw-r--r--lisp/org-faces.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index 80e8134..606db08 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -44,6 +44,9 @@
(set-face-doc-string new-face docstring)))))
(put 'org-copy-face 'lisp-indent-function 2)
+(when (featurep 'xemacs)
+ (put 'mode-line 'face-alias 'modeline))
+
(defgroup org-faces nil
"Faces in Org-mode."
:tag "Org Faces"