bug 219448

Paul Boekholt p.boekholt@hetnet.nl
Tue, 24 May 2005 11:00:20 +0200


On Mon, 23 May 2005 14:09:16 +0200, "G. Milde" <g.milde@web.de> said:

>    (Does the emacs package patch startup.el?)
Yes.

>    If so, is there a way to disable Debian specific startup code in
>    Emacs?
Yes, with the -q option:
    ;; Debian version of site-start.
    (if site-run-file
        (progn
          ;; Load all the debian package snippets.
          ;; It's in here because we want -q to kill it too.
          (if (load "debian-startup" t t nil)
              (debian-startup debian-emacs-flavor))
          ;; Now the normal site file...
          (load site-run-file t t nil)))

The Debian-specific stuff for all Emacsen is in
/usr/share/emacs/site-lisp/debian-startup.el.


> Pauls question was "what does Emacs do?", so now I ask more specific: 

>   Does the Debian packaged emacs look for /usr/local/etc/site-start.el?
I don't think so, but it looks for
/usr/local/share/emacs/site-lisp/site-start.el.

>   Does a locally installed emacs look for /etc/site-start.el?
I don't have one.
>   Do we care?
I can prevent my local JED from loading /etc/jed.conf by touching a
/usr/local/jed/lib/defaults.sl, but I think it should not be necessary.