From: tomo Date: Wed, 20 Dec 2000 08:52:33 +0000 (+0000) Subject: (emh-set-face-foreground): Use nil as variable of `condition-case'. X-Git-Tag: emh-1_14_0~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3b2611a278d80c991c03594c2902246c88fcaf61;p=elisp%2Femh.git (emh-set-face-foreground): Use nil as variable of `condition-case'. --- diff --git a/emh-face.el b/emh-face.el index 17fc9a6..f37af61 100644 --- a/emh-face.el +++ b/emh-face.el @@ -1,6 +1,6 @@ ;;; emh-face.el --- header highlighting in emh. -;; Copyright (C) 1997,2000 MORIOKA Tomohiko +;; Copyright (C) 1997,2000 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko ;; Created: 1997/3/4 @@ -29,7 +29,7 @@ (require 'std11) (defsubst emh-set-face-foreground (face color) - (condition-case err + (condition-case nil (set-face-foreground face color) (error (message "Color `%s' is not found." color))))