emacs-devel
[Top][All Lists]
Advanced

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

Re: custom-variable-menu loses entries if defined during site-start


From: Glenn Morris
Subject: Re: custom-variable-menu loses entries if defined during site-start
Date: Tue, 09 Oct 2007 21:31:14 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Adam Spiers wrote:

> I noticed that since upgrading to emacs 22, when changing variables
> in a Custom buffer, individual variables no longer offered the "Save
> for Future Sessions" action in the State menu, even when custom-file
> and user-init-file are set correctly. I tracked it down to this
> change:
>
>   
> http://cvs.savannah.gnu.org/viewvc/emacs/lisp/cus-edit.el?root=emacs&view=diff&r1=1.250&r2=1.251
>
> In particular, in the defvar of custom-variable-menu:
>
>    ("Save for Future Sessions" custom-variable-save             
>
> is changed to
>
>    ,@(when (or custom-file user-init-file)
>        '(("Save for Future Sessions" custom-variable-save
>
> This works fine if cus-edit.el is loaded after custom-file and/or
> user-init-file are initialized during startup. 


Perhaps cus-edit could test `init-file-user' instead of `user-init-file'.
Looks like this is set early enough in the startup sequence.


> However, on Fedora 7, the emacs-common-22.0.990-2.fc7 rpm

This is a pretest of Emacs 22. Is there not a proper Emacs 22.1
package for Fedora 7?




reply via email to

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