[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 207/287: Fix ergoemacs-pushnew Issue #244.
From: |
Matthew Fidler |
Subject: |
[elpa] 207/287: Fix ergoemacs-pushnew Issue #244. |
Date: |
Wed, 02 Jul 2014 14:46:02 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit abda1690e199af29b851ee54f2359a0e3b732d72
Author: Matthew L. Fidler <address@hidden>
Date: Tue Jun 24 07:11:16 2014 -0500
Fix ergoemacs-pushnew Issue #244.
---
ergoemacs-macros.el | 1 +
ergoemacs-theme-engine.el | 2 +-
ergoemacs-unbind.el | 9 ++++++++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-macros.el b/ergoemacs-macros.el
index c1d8d06..a1eeb88 100644
--- a/ergoemacs-macros.el
+++ b/ergoemacs-macros.el
@@ -378,6 +378,7 @@ DIFFERENCES are the differences from the layout based on
the functions. These a
'eieio-object-set-name-string)
(t 'object-set-name-string)) ,obj ,name))
+;;;###autoload
(defmacro ergoemacs-pushnew (x place &rest plist)
"Fix byte-compile errors for emacs versions less than 24.3.
It says that `adjoin' from `cl' may be called at runtime, so use
diff --git a/ergoemacs-theme-engine.el b/ergoemacs-theme-engine.el
index 15c86d9..f7e4daf 100644
--- a/ergoemacs-theme-engine.el
+++ b/ergoemacs-theme-engine.el
@@ -1861,7 +1861,7 @@ DONT-COLLAPSE doesn't collapse empty keymaps"
(when (and (or (commandp lk t)
(keymapp lk))
(not (member key '([remap] ))))
- (pushnew key ergoemacs-global-override-rm-keys
+ (ergoemacs-pushnew key ergoemacs-global-override-rm-keys
:test 'equal)
(throw 'found-global-command t)))
(setq key (substring key 0 (- (length key) 1)))))))
diff --git a/ergoemacs-unbind.el b/ergoemacs-unbind.el
index b8a9f9f..a1d041d 100644
--- a/ergoemacs-unbind.el
+++ b/ergoemacs-unbind.el
@@ -28,7 +28,14 @@
;;
;;; Code:
-
+(eval-when-compile
+ (require 'cl)
+ (require 'ergoemacs-macros
+ (expand-file-name "ergoemacs-macros"
+ (file-name-directory (or
+ load-file-name
+ (buffer-file-name)
+ default-directory)))))
(require 'edmacro)
(defvar ergoemacs-emacs-default-bindings
- [elpa] 184/287: Now use ergoemacs-pretty-key to describe fn keys, (continued)
- [elpa] 184/287: Now use ergoemacs-pretty-key to describe fn keys, Matthew Fidler, 2014/07/02
- [elpa] 186/287: Fix ergoemacs-read-key-lookup-get-ret---universal, Matthew Fidler, 2014/07/02
- [elpa] 189/287: Do all tests, Matthew Fidler, 2014/07/02
- [elpa] 188/287: Fix some byte-compile issues, Matthew Fidler, 2014/07/02
- [elpa] 190/287: Fix Issue #233, Matthew Fidler, 2014/07/02
- [elpa] 193/287: Fix Issue #241, Matthew Fidler, 2014/07/02
- [elpa] 205/287: Only push new keys to ergoemacs-global-override-rm-keys, and don't push [remap]s (Issue #243), Matthew Fidler, 2014/07/02
- [elpa] 191/287: change downcase and UPCASE for being more clear., Matthew Fidler, 2014/07/02
- [elpa] 208/287: Fix helm-M-x keys again., Matthew Fidler, 2014/07/02
- [elpa] 206/287: Remove debugging comment for ergoemacs-rm-key, Matthew Fidler, 2014/07/02
- [elpa] 207/287: Fix ergoemacs-pushnew Issue #244.,
Matthew Fidler <=
- [elpa] 209/287: Declare ergoemacs-use-M-x-p, Matthew Fidler, 2014/07/02
- [elpa] 210/287: Test Issue #243. C-c C-c M-x vs C-c C-c., Matthew Fidler, 2014/07/02
- [elpa] 211/287: Add send outlook files to emacs, Matthew Fidler, 2014/07/02
- [elpa] 213/287: Merge branch 'master' of github.com:ergoemacs/ergoemacs-mode, Matthew Fidler, 2014/07/02
- [elpa] 215/287: Merge pull request #245 from bmalehorn/programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 214/287: fix incorrect ergoemacs-layout-programmer-dv, Matthew Fidler, 2014/07/02
- [elpa] 212/287: modified ergoemacs-cut-all so it doesn't join previous cut., Matthew Fidler, 2014/07/02
- [elpa] 216/287: Drop FIXME, Matthew Fidler, 2014/07/02
- [elpa] 223/287: Remove archive-mode and ses-mode from menus. Issue #246., Matthew Fidler, 2014/07/02
- [elpa] 217/287: Fix image generation and autohotkey generation, Matthew Fidler, 2014/07/02