emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/tangotango-theme dbefd8638c 3/3: Don't fail compilation wh


From: ELPA Syncer
Subject: [nongnu] elpa/tangotango-theme dbefd8638c 3/3: Don't fail compilation when `color-theme` is not installed
Date: Thu, 14 Jul 2022 16:59:09 -0400 (EDT)

branch: elpa/tangotango-theme
commit dbefd8638c36595467efbce5a26da208320ac30a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Julien <julien@nozav.org>

    Don't fail compilation when `color-theme` is not installed
---
 color-theme-tangotango.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/color-theme-tangotango.el b/color-theme-tangotango.el
index 6c2bb17c05..f3c3096fa6 100644
--- a/color-theme-tangotango.el
+++ b/color-theme-tangotango.el
@@ -3,7 +3,7 @@
 ;; First derived from color-theme-tango.el,  created by danranx@gmail.com :
 ;; http://www.emacswiki.org/emacs/color-theme-tango.el
 
-;; Copyright (C) 2011, 2012, 2013, Julien Barnier <julien@nozav.org>
+;; Copyright (C) 2011-2013  Julien Barnier <julien@nozav.org>
 
 ;; Author: Julien Barnier
 ;; Adapted-By: Yesudeep Mangalapilly
@@ -32,7 +32,8 @@
 ;;; Code:
 
 ;; color theme (requires http://www.emacswiki.org/cgi-bin/wiki?ColorTheme )
-(require 'color-theme)
+(require 'color-theme nil t)
+(declare-function color-theme-install "color-theme")
 
 (defun color-theme-tangotango ()
   "A color theme based on Tango Palette colors."
@@ -42,6 +43,7 @@
   ;; - green :      "#6ac214"
   ;; - orange/red : "tomato"
   (interactive)
+  ;; FIXME: Shouldn't this share some code with tangotango-theme.el?
   (color-theme-install
    '(color-theme-tangotango
      ((background-color . "#2e3434")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]