[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 155/287: Use :initialize #'custom-initialize-default
From: |
Matthew Fidler |
Subject: |
[elpa] 155/287: Use :initialize #'custom-initialize-default |
Date: |
Wed, 02 Jul 2014 14:45:32 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 66320e50152f0f0d799ef57e43863a8c1214298b
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jun 18 14:24:35 2014 -0500
Use :initialize #'custom-initialize-default
---
ergoemacs-mode.el | 19 +++----------------
ergoemacs-theme-engine.el | 1 +
ergoemacs-themes.el | 1 +
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index 40b8cfa..98a851d 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -210,6 +210,7 @@ Valid values are:
" (ergoemacs-get-layouts-doc))
:type (ergoemacs-get-layouts-type)
:set 'ergoemacs-set-default
+ :initialize #'custom-initialize-default
:group 'ergoemacs-mode)
(defvar ergoemacs-cua-rect-modifier-orig cua--rectangle-modifier-key)
@@ -223,6 +224,7 @@ Valid values are:
(const :tag "Hyper Modifier" hyper)
(const :tag "Alt Modifier" alt))
:set 'ergoemacs-set-default
+ :initialize #'custom-initialize-default
:group 'ergoemacs-mode)
(defcustom ergoemacs-repeat-movement-commands nil
@@ -258,22 +260,6 @@ Valid values are:
(defvar ergoemacs-unbind-keys nil)
(defvar ergoemacs-read-input-keys nil)
-(unless (fboundp 'make-composed-keymap)
- ;; Backport `make-composed-keymap'
- (defun make-composed-keymap (maps &optional parent)
- "Construct a new keymap composed of MAPS and inheriting from PARENT.
-When looking up a key in the returned map, the key is looked in each
-keymap of MAPS in turn until a binding is found.
-If no binding is found in MAPS, the lookup continues in PARENT, if non-nil.
-As always with keymap inheritance, a nil binding in MAPS overrides
-any corresponding binding in PARENT, but it does not override corresponding
-bindings in other keymaps of MAPS.
-MAPS can be a list of keymaps or a single keymap.
-PARENT if non-nil should be a keymap."
- `(keymap
- ,@(if (keymapp maps) (list maps) maps)
- ,@parent)))
-
(unless (featurep 'ergoemacs-theme-engine)
(load "ergoemacs-theme-engine"))
@@ -380,6 +366,7 @@ PARENT if non-nil should be a keymap."
"Use ergoemacs menus"
:type 'boolean
:set 'ergoemacs-set-default
+ :initialize #'custom-initialize-default
:group 'ergoemacs-mode)
(defvar ergoemacs-modal-emulation-mode-map-alist nil
diff --git a/ergoemacs-theme-engine.el b/ergoemacs-theme-engine.el
index 29f650e..8d2b11e 100644
--- a/ergoemacs-theme-engine.el
+++ b/ergoemacs-theme-engine.el
@@ -2298,6 +2298,7 @@ Returns new keymap."
(ergoemacs-get-themes-doc t))
:type `,(ergoemacs-get-themes-type t)
:set 'ergoemacs-set-default
+ :initialize #'custom-initialize-default
:group 'ergoemacs-mode))))
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 029feca..424a401 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -1076,6 +1076,7 @@
(const :tag "Standard" :value nil)
(symbol :tag "Other"))
:set 'ergoemacs-set-default
+ :initialize #'custom-initialize-default
:group 'ergoemacs-mode)
(provide 'ergoemacs-themes)
- [elpa] 149/287: Backport `make-composed-keymap'., (continued)
- [elpa] 149/287: Backport `make-composed-keymap'., Matthew Fidler, 2014/07/02
- [elpa] 148/287: Fix more compiler issues and typos, Matthew Fidler, 2014/07/02
- [elpa] 145/287: pushnew instead of add-to-list, Matthew Fidler, 2014/07/02
- [elpa] 152/287: Remove emacs23 testing, Matthew Fidler, 2014/07/02
- [elpa] 150/287: Note that ergoemacs-mode requires emacs 24.1, Matthew Fidler, 2014/07/02
- [elpa] 153/287: Update expections., Matthew Fidler, 2014/07/02
- [elpa] 154/287: Remove ert dependence. Its in emacs 24, Matthew Fidler, 2014/07/02
- [elpa] 151/287: Try to make this a batch test., Matthew Fidler, 2014/07/02
- [elpa] 156/287: Try to make compatible with 24.4, Matthew Fidler, 2014/07/02
- [elpa] 158/287: Take out `mark-whole-buffer', Matthew Fidler, 2014/07/02
- [elpa] 155/287: Use :initialize #'custom-initialize-default,
Matthew Fidler <=
- [elpa] 157/287: Add ergoemacs fixes for 24.4, Matthew Fidler, 2014/07/02
- [elpa] 163/287: Removed more mark-whole-buffer, Matthew Fidler, 2014/07/02
- [elpa] 159/287: Take out mark-whole-buffer, Matthew Fidler, 2014/07/02
- [elpa] 164/287: Removed saved-overriding-map variable changes., Matthew Fidler, 2014/07/02
- [elpa] 160/287: Fix eieio-object-name-string in emacs 24.4, Matthew Fidler, 2014/07/02
- [elpa] 161/287: Removed check for saved-overriding-map, Matthew Fidler, 2014/07/02
- [elpa] 162/287: Add object-set-name-string compatability with 24.4, Matthew Fidler, 2014/07/02
- [elpa] 166/287: Misc cleanups, Matthew Fidler, 2014/07/02
- [elpa] 167/287: Remove minibuffer hook, Matthew Fidler, 2014/07/02
- [elpa] 168/287: Declare cl-gensym, Matthew Fidler, 2014/07/02