[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trying to install color-theme on emacs 23.1
From: |
hap 497 |
Subject: |
Trying to install color-theme on emacs 23.1 |
Date: |
Thu, 1 Apr 2010 23:53:00 -0600 |
Hi,
I have compiled emacs 23.1 on ubuntu. And I am trying to color-theme
(6.6.0) from
http://www.nongnu.org/color-theme/#sec5
I have copied color-theme.el to ~/bin and have added these .emacs
; theme
(load-file "/home/hap/bin/color-theme.el")
(require 'color-theme)
But I get this error when i run emacs -debug-init:
Í‚Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-name-directory(nil)
(concat (file-name-directory (locate-library "color-theme")) "/themes")
(directory-files (concat (file-name-directory ...) "/themes") t
"^color-theme")
eval((directory-files (concat (file-name-directory ...) "/themes") t
"^color-theme"))
custom-initialize-reset(color-theme-libraries (directory-files
(concat (file-name-directory ...) "/themes") t "^color-theme"))
custom-declare-variable(color-theme-libraries (directory-files
(concat (file-name-directory ...) "/themes") t "^color-theme") "A list
of files, which will be loaded in color-theme-initialize depending\non
`color-theme-load-all-themes' value. \nThis allows a user to prune the
default color-themes (which can take a while\nto load)." :type (repeat
string) :group color-theme)
(defcustom color-theme-libraries (directory-files (concat ...
"/themes") t "^color-theme") "A list of files, which will be loaded in
color-theme-initialize depending\non `color-theme-load-all-themes'
value. \nThis allows a user to prune the default color-themes (which
can take a while\nto load)." :type (quote (repeat string)) :group
(quote color-theme))
eval-buffer(#<buffer *load*<2>> nil "/home/hap/bin/color-theme.el"
nil t) ; Reading at buffer position 8867
load-with-code-conversion("/home/hap/bin/color-theme.el"
"/home/hap/bin/color-theme.el" nil nil)
I have attached the color-theme.el.
Can you please tell me how can I fix my problem?
Thank you.
color-theme.el
Description: Text Data
- Trying to install color-theme on emacs 23.1,
hap 497 <=