Bug 716440

Summary: [PATCH] Set custom variables with custom-set-variables instead of setq
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: emacsAssignee: Karel Klíč <kklic>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan.underwood, kklic, rvokal
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 23.3-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-29 21:34:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Use custom-set-variables for customizable things in .emacs none

Description Ville Skyttä 2011-06-24 13:11:43 UTC
Created attachment 509751 [details]
Use custom-set-variables for customizable things in .emacs

Setting custom variables with setq causes the values set with customize-variable to be ignored if the setq's appear after custom-set-variables, and just causes confusion (duplicate settings) if set before the custom-set-variables block.

The attached patch switches to use custom-set-variables for customizable ones (inhibit-default-init, diff-switches, require-final-newline) in .emacs.  Let me know if you'd like me to commit and build this for devel.

Comment 1 Karel Klíč 2011-06-29 12:46:48 UTC
Looks good. Feel free to commit and build this. Thanks.