0

I was trying to install the Icicles packages as presented here by following this guide. First I downloaded only the required packages and put them in this directory:

C:\Users\Administrator\AppData\Roaming\.emacs.d\icicles

Then added this directory to load-path by putting this line in .emacs file:

(add-to-list 'load-path "~/.emacs.d/icicles/")

and executing M-x eval-buffer, so the directory was put in load-path when I checked it by C-h v load-path. But when I executed M-x load-library RET icicles RET it prompted the error:

Symbol's value as variable is void: <!DOCTYPE

Is it due to the files icicles-chg.el, icicles-doc1.el and icicles-doc2.el being in the load-path?

I'm using Emacs 24.5 running on Windows 7.

1

That <!DOCTYPE is your clue that you did not download the Emacs-Lisp files (*.el). Instead, you downloaded an HTML file - e.g., an HTML file that describes or displays an Emacs-Lisp file.

Try downloading the source files again (*.el). Then check their content to see if they look like Lisp code or HTML code. If the latter then you are still downloading incorrectly.

When you click the name of an Elisp file in the Emacs-Wiki Elisp Area, you see an HTML display of its code (e.g. the icicles.el file. To get the code file itself, right-click the Download button on that page (upper left) and choose Save Link As (the exact text might depend on your browser).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.