* When loading an elisp file within Emacs, color-theme changes
@ 2011-05-27 2:16 Dylan Mikus
0 siblings, 0 replies; only message in thread
From: Dylan Mikus @ 2011-05-27 2:16 UTC (permalink / raw)
To: help-gnu-emacs
I'm using the "color-theme-6.6.0" library, and I the following code to initialize my color theme:
------------------------------------------------------------------------------------------
;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
(load
(expand-file-name "~/.emacs.d/elpa/package.el"))
(package-initialize))
;; Configuring file location for M-x customize*
(setq custom-file "~/.emacs.d/emacs-custom.el")
(load custom-file 'noerror)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-hober)
; (color-theme-standard)
; (color-theme-clarity)
; (color-theme-euphoria)
))
; Cool themes
; clarity
; euphoria
------------------------------------------------------------------------------------------
Notably, only the part after the sequence of ;'s matters. When I first load Emacs from terminal, the color scheme shows up fine, but when I run "load-file ~/.emacs.d", which calls the above code, the mode bar at the bottom and any divide bars for windows turn to light blue (previously from grayish-white), and the read-only text in the mini-buffer changes color to a dark purple (previously light-blue, as defined in my default terminal colors).
I really don't know too much about the color-theme library. Do any of you guys know of a general reason for why this would happen when I reload the same code?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-27 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 2:16 When loading an elisp file within Emacs, color-theme changes Dylan Mikus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.