help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help: how to load existing file after upgrading to Emacs 29.1 from 2


From: Manuel Giraud
Subject: Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt
Date: Tue, 14 Nov 2023 14:19:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Globe Trotter <itsme_410@yahoo.com> writes:

> Taking the heavy-handed step of removing this file "solves" my problem
> in that I can load the file.
>
> This is the file, btw:
>
>
> ;;; loaded before user's ".emacs" file and default.el
>
> ;; load *.el and *.elc in /usr/share/emacs/site-lisp/site-start.d on startup
> (mapc
>  'load
>  (delete-dups
>   (mapcar 'file-name-sans-extension
>           (directory-files
>            "/usr/share/emacs/site-lisp/site-start.d" t "\\.elc?\\'"))))
> (setq source-directory "/usr/share/emacs/29.1/")

Ok.  So you should not remove this site-start.el.  It is related to how
Fedora install its package with Emacs code in it.

Now, we can go one step further.  What that the above code does is to
load each and every ".el" and ".elc" file located in the directory
"/usr/share/emacs/site-lisp/site-start.d"

So now, you have to look what those files are.  Most probably, it is
code from other Fedora packages.  Maybe one of those package was not
updated correctly, not tested correctly with Emacs 29,... I don't know.
-- 
Manuel Giraud



reply via email to

[Prev in Thread] Current Thread [Next in Thread]