[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/enriched.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/enriched.el |
Date: |
Sat, 06 Apr 2002 11:09:26 -0500 |
Index: emacs/lisp/enriched.el
diff -c emacs/lisp/enriched.el:1.43 emacs/lisp/enriched.el:1.44
*** emacs/lisp/enriched.el:1.43 Thu Apr 4 15:46:55 2002
--- emacs/lisp/enriched.el Sat Apr 6 11:09:26 2002
***************
*** 432,450 ****
(delete-char 1)))
(defun enriched-decode-foreground (from to &optional color)
! (if (and color (display-color-p))
! (list from to 'face (cons ':foreground color))
! (if (null color)
! (message "Warning: no color specified for <x-color>")
! (message "Warning: color `%s' can't be displayed" color))
nil))
(defun enriched-decode-background (from to &optional color)
! (if (and color (display-color-p))
! (list from to 'face (cons ':background color))
! (if (null color)
! (message "Warning: no color specified for <x-bg-color>")
! (message "Warning: color `%s' can't be displayed" color))
nil))
;;; Handling the `display' property.
--- 432,446 ----
(delete-char 1)))
(defun enriched-decode-foreground (from to &optional color)
! (if color
! (list from to 'face (list ':foreground color))
! (message "Warning: no color specified for <x-color>")
nil))
(defun enriched-decode-background (from to &optional color)
! (if color
! (list from to 'face (list ':background color))
! (message "Warning: no color specified for <x-bg-color>")
nil))
;;; Handling the `display' property.