emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [PATCH] face: make org-link inherit from link


From: Julien Danjou
Subject: [Orgmode] [PATCH] face: make org-link inherit from link
Date: Wed, 2 Feb 2011 17:21:24 +0100

* org-faces.el (org-link): Make org-link inherits from link face.

Signed-off-by: Julien Danjou <address@hidden>
---
 lisp/org-faces.el |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index bd509ae..aeadb9b 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -247,9 +247,10 @@ column view defines special faces for each outline level.  
See the file
   :group 'org-faces)
 
 (defface org-link
-  '((((class color) (background light)) (:foreground "Purple" :underline t))
-    (((class color) (background dark)) (:foreground "Cyan" :underline t))
-    (t (:underline t)))
+  (org-compatible-face 'link
+    '((((class color) (background light)) (:foreground "Purple" :underline t))
+      (((class color) (background dark)) (:foreground "Cyan" :underline t))
+      (t (:underline t))))
   "Face for links."
   :group 'org-faces)
 
-- 
1.7.2.3




reply via email to

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