Make org-link and idlwave-help-link inherit from link face.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 9 Jan 2011 21:24:07 +0000 (16:24 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 9 Jan 2011 21:24:07 +0000 (16:24 -0500)
Suggested by Joakim Verona.

* lisp/org/org-faces.el (org-link):
* lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.

lisp/ChangeLog
lisp/org/ChangeLog
lisp/org/org-faces.el
lisp/progmodes/idlw-help.el

index d359fa9..cd5ec46 100644 (file)
@@ -1,5 +1,8 @@
 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
 
+       * progmodes/idlw-help.el (idlwave-help-link): Inherit from link
+       face.  Suggested by Joakim Verona.
+
        * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
 
        * wid-edit.el (visibility): Replace :on-image and :off-image
index 9bf07de..e8531be 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * org-faces.el (org-link): Inherit from link face.
+       Suggested by Joakim Verona.
+
 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
 
        * org-footnote.el (org-footnote-create-definition): Place
index 3f82457..d4f4582 100644 (file)
@@ -1,6 +1,6 @@
 ;;; org-faces.el --- Face definitions for Org-mode.
 
-;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010
+;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 ;;   Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <carsten at orgmode dot org>
@@ -247,9 +247,7 @@ 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)))
+  '((t :inherit link))
   "Face for links."
   :group 'org-faces)
 
index 0674ccf..f8121be 100644 (file)
@@ -1,7 +1,7 @@
 ;;; idlw-help.el --- HTML Help code for IDLWAVE
 
 ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-;;   2009, 2010  Free Software Foundation, Inc.
+;;   2009, 2010, 2011  Free Software Foundation, Inc.
 ;;
 ;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
 ;;          Carsten Dominik <dominik@science.uva.nl>
@@ -195,8 +195,7 @@ support."
   :type 'string)
 
 (defface idlwave-help-link
-  '((((class color)) (:foreground "Blue"))
-    (t (:weight bold)))
+  '((t :inherit link))
   "Face for highlighting links into IDLWAVE online help."
   :group 'idlwave-online-help)