On Sunday, October 6, 2002, at 09:40 am, [EMAIL PROTECTED] wrote: > On Sunday, October 6, 2002, at 09:21 , Johannes Kreuzhuber wrote: > >> Can you explain how "byte-compile-file" works step by step. >> >> this is the path to the file. >> >> /sw/share/emacs21/site-lisp/php-mode.el > > 1. Run emacs as root, and dired on that directory (from a shell): > > sudo emacs /sw/share/emacs21/site-lisp/ > > 2. Byte-compile the file (inside emacs): > > M-x byte-compile-file RET php-mode.el > > This should leave php-mode.elc in /sw/share/emacs21/site-lisp/.
For the record, it's kind of a `bad thing' to place files manually within the directories managed by dpkg. The preferred way to add lisp files is to stick them in /sw/etc/lisp/emacs/<version number>/site-lisp -- a directory created for precisely this purpose and already part of emacs's load-path... -christian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
