[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 99/117: Don't save so much. Just save once.
From: |
Matthew Fidler |
Subject: |
[elpa] 99/117: Don't save so much. Just save once. |
Date: |
Fri, 25 Jul 2014 13:24:34 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 40315d7a3d8d1f7ea001942b2df1a68f95a05a81
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jul 24 08:34:44 2014 -0500
Don't save so much. Just save once.
---
ergoemacs-functions.el | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 075a427..cc73e0a 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -123,17 +123,18 @@ running interactively.
(defvar ergoemacs-keyboard-layout)
(defvar ergoemacs-theme-options)
(defun ergoemacs-save-options-to-customized (&optional no-save)
- (let (ergoemacs-mode)
- (customize-save-variable 'ergoemacs-smart-paste ergoemacs-smart-paste)
- (customize-save-variable 'ergoemacs-use-menus ergoemacs-use-menus)
- (customize-save-variable 'ergoemacs-theme (or ergoemacs-theme "standard"))
- (customize-save-variable 'ergoemacs-keyboard-layout
ergoemacs-keyboard-layout)
- (customize-save-variable 'ergoemacs-ctl-c-or-ctl-x-delay
ergoemacs-ctl-c-or-ctl-x-delay)
- (customize-save-variable 'ergoemacs-handle-ctl-c-or-ctl-x
ergoemacs-handle-ctl-c-or-ctl-x)
- (customize-save-variable 'ergoemacs-use-menus ergoemacs-use-menus)
- (customize-save-variable 'ergoemacs-theme-options ergoemacs-theme-options)
- (unless no-save
- (customize-save-customized))))
+ (unless noninteractive
+ (let (ergoemacs-mode)
+ (customize-set-variable 'ergoemacs-smart-paste ergoemacs-smart-paste)
+ (customize-set-variable 'ergoemacs-use-menus ergoemacs-use-menus)
+ (customize-set-variable 'ergoemacs-theme (or ergoemacs-theme "standard"))
+ (customize-set-variable 'ergoemacs-keyboard-layout
ergoemacs-keyboard-layout)
+ (customize-set-variable 'ergoemacs-ctl-c-or-ctl-x-delay
ergoemacs-ctl-c-or-ctl-x-delay)
+ (customize-set-variable 'ergoemacs-handle-ctl-c-or-ctl-x
ergoemacs-handle-ctl-c-or-ctl-x)
+ (customize-set-variable 'ergoemacs-use-menus ergoemacs-use-menus)
+ (customize-set-variable 'ergoemacs-theme-options ergoemacs-theme-options)
+ (unless no-save
+ (customize-save-customized)))))
(declare-function ergoemacs-mode "ergoemacs-mode.el")
(declare-function ergoemacs-ini-mode "ergoemacs-mode.el")
- [elpa] 91/117: Fix remaps to not use shortcuts, (continued)
- [elpa] 91/117: Fix remaps to not use shortcuts, Matthew Fidler, 2014/07/25
- [elpa] 92/117: Remove local read-key reset; Shouldn't be needed, Matthew Fidler, 2014/07/25
- [elpa] 90/117: Hack to make search-reg work. Should work normally :(, Matthew Fidler, 2014/07/25
- [elpa] 95/117: No need to create autoloads any longer, Matthew Fidler, 2014/07/25
- [elpa] 84/117: Flatten keymaps, Matthew Fidler, 2014/07/25
- [elpa] 93/117: Fix dired-mode-map changes by requiring dired, Matthew Fidler, 2014/07/25
- [elpa] 96/117: Add back dired-jump, Matthew Fidler, 2014/07/25
- [elpa] 87/117: Handle the (keymap (keymap ...)) composed keymap, Matthew Fidler, 2014/07/25
- [elpa] 97/117: Move wdired-exit to ergoemacs-keyboard-quit, Matthew Fidler, 2014/07/25
- [elpa] 94/117: Apply deferred keys., Matthew Fidler, 2014/07/25
- [elpa] 99/117: Don't save so much. Just save once.,
Matthew Fidler <=
- [elpa] 100/117: Do not reset ergoemacs-command-shortcuts-hash, Matthew Fidler, 2014/07/25
- [elpa] 101/117: Add DEL as known key binding, Matthew Fidler, 2014/07/25
- [elpa] 102/117: Tell user that the global keys are overriding ergoemacs-keys, Matthew Fidler, 2014/07/25
- [elpa] 103/117: Only complain when initially changing the key, Matthew Fidler, 2014/07/25
- [elpa] 98/117: Don't remove things from the shortcut hash, Matthew Fidler, 2014/07/25
- [elpa] 106/117: Add apropos, Matthew Fidler, 2014/07/25
- [elpa] 105/117: Add C-d test, Matthew Fidler, 2014/07/25
- [elpa] 108/117: Move ergoemacs-translation-assoc declaration, Matthew Fidler, 2014/07/25
- [elpa] 104/117: Respect global keys only if true global map, Matthew Fidler, 2014/07/25
- [elpa] 107/117: Make sure the read-input-keymap has M-O and M-[. Possibly fix Issue #280, Matthew Fidler, 2014/07/25