[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs/lisp/org org.el ChangeLog
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] emacs/lisp/org org.el ChangeLog |
Date: |
Tue, 01 Sep 2009 12:17:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> I have my default-major-mode set to `org-mode'.
> In the function where you placed your comment, I am calling
> customize-save-variable. IIRC, it happened to me that my custom
> file did not have a .el extension, and that, when the custom file
> was visited in order to write the modified variable, org-mode
> was selected for that file and messed it up, somehow.
> I don't know if this could still happen, but I believe
> this was the issue, and to be safe I scoped a the default
> value for default-major-mode into that call.
> What do you want me to do about it?
Report a bug for it.
> Remove it and hope for the best, or explain it in a commentary?
I don't have any strong opinion on it (other than the fact that
default-major-mode should be replaced by (default-value 'major-mode),
which is a bit more troublesome in let), but if you keep it, then please
add a comment explaining that it's a workaround for a bug in cutomize
(or somesuch).
Stefan