Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!nrl-cmf!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!decwrl!labrea!navajo!baxter From: baxter@navajo (Ray Baxter) Newsgroups: comp.emacs Subject: Help Summary: How do I add an item to the path? Message-ID: <2053@navajo.UUCP> Date: 21 Feb 88 21:32:15 GMT Sender: baxter@navajo.UUCP Reply-To: baxter@navajo (Ray Baxter) Distribution: na Organization: Biological Sciences, Stanford University Lines: 24 Can anyone tell me the best proceedure for adding another directory to my gnuemacs load-path? I would like to be able to add a statement to my .emacs directory that would cause emacs to search my personal directory of e-lisp functions. I have tried (setq load-path (list load-path "~/emacs")) which seems to give the correct value, but when I call an autoloaded function I get the message Wrong type argument: stringp, ("/usr/local/emacs/lisp") "/usr/local/emacs/lisp" was the original value of load-path. I know that I could setenv EMACSLOADPATH "/usr/local/emacs/lisp ~/emacs", I was just hoping for a more general solution because there are other variables which I would like to extend. While on the subject, can anyone describe the various data types used in e-lisp? Or better yet refer me to a printed or on-line source of information. Thank you in advance. --