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: Globe Trotter
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 13:00:55 +0000 (UTC)

On Tuesday, November 14, 2023 at 02:27:36 AM CST, Manuel Giraud via Users list 
for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote: 

> Thanks! I was not aware of all this.
>
> Other than the .emacs and .emacs.d files, it apears that the only
> relevant init files I have are:
>
> /usr/share/emacs/site-lisp/site-start.el


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/")



The above file is, however also there in 28.3 (with the appropriate version).



>
> /usr/share/emacs/site-lisp/default.el
>
> Both are system files dated Apr 13 2023.


Thanks for all your help!


reply via email to

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