浏览代码

face: make org-link inherit from link

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

Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou 14 年之前
父节点
当前提交
44e68033ee
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      lisp/org-faces.el

+ 4 - 3
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)