From: rolf@gundog.lbl.gov (rolf ebert)
Subject: Re: Emacs-ada-mode Installation Problems
Date: 16 Sep 1994 23:05:09 GMT
Date: 1994-09-16T23:05:09+00:00 [thread overview]
Message-ID: <41437@dog.ee.lbl.gov> (raw)
In-Reply-To: mmcnett.779749353@sparc55.cs.uiuc.edu
the load path is the path where Emacs looks for input files. The online
documentation (C-h v load-path) gives (for me):
load-path's value is ("/u3/rolf/unix/elisp" "/u3/rolf/unix/elisp/devel" "/u7/rolf/gnu/lib/emacs/site-lisp" "/u7/rolf/gnu/lib/emacs/19.26/lisp")
Documentation:
*List of directories to search for files to load.
Each element is a string (directory name) or nil (try default directory).
Initialized based on EMACSLOADPATH environment variable, if any,
otherwise to default specified by file `paths.h' when Emacs was built.
You can add your personal extensions to Emacs with the following lines
in your .emacs:
(defun add-to-load-path (directory-list)
(mapcar (function (lambda (directory)
(or (member directory load-path)
(setq load-path (cons directory load-path)))))
directory-list))
;(add-to-load-path (list "/path/one"
; "/path/two"
; "/blah/blah/blah"))
(add-to-load-path (list (expand-file-name "~/elisp")
(expand-file-name "~/elisp/devel"))
This adds the 2 directories to the load-path. Put there your newly purchased
ada-mode.el and it should work now.
Mail me if you still have problems.
Rolf
prev parent reply other threads:[~1994-09-16 23:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-16 21:02 Emacs-ada-mode Installation Problems mcnett michael david
1994-09-16 23:05 ` rolf ebert [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox