changeset 112177:c3c205cb80c1

Make org-link and idlwave-help-link inherit from link face. Suggested by Joakim Verona. * lisp/org/org-faces.el (org-link): * lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 09 Jan 2011 16:24:07 -0500
parents 60bee8db359c
children a9958515249d
files lisp/ChangeLog lisp/org/ChangeLog lisp/org/org-faces.el lisp/progmodes/idlw-help.el
diffstat 4 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jan 09 16:07:30 2011 -0500
+++ b/lisp/ChangeLog	Sun Jan 09 16:24:07 2011 -0500
@@ -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
--- a/lisp/org/ChangeLog	Sun Jan 09 16:07:30 2011 -0500
+++ b/lisp/org/ChangeLog	Sun Jan 09 16:24:07 2011 -0500
@@ -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
--- a/lisp/org/org-faces.el	Sun Jan 09 16:07:30 2011 -0500
+++ b/lisp/org/org-faces.el	Sun Jan 09 16:24:07 2011 -0500
@@ -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 @@
   :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)
 
--- a/lisp/progmodes/idlw-help.el	Sun Jan 09 16:07:30 2011 -0500
+++ b/lisp/progmodes/idlw-help.el	Sun Jan 09 16:24:07 2011 -0500
@@ -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 @@
   :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)