emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 180/287: Remap universal-argument to ergoemacs-universal-argument


From: Matthew Fidler
Subject: [elpa] 180/287: Remap universal-argument to ergoemacs-universal-argument
Date: Wed, 02 Jul 2014 14:45:47 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit af42fba6bd29de2a7e877ff5e84a96e5cfe72992
Author: Matthew L. Fidler <address@hidden>
Date:   Fri Jun 20 14:53:07 2014 -0500

    Remap universal-argument to ergoemacs-universal-argument
---
 ergoemacs-themes.el |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index afb08de..b316b25 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -98,7 +98,7 @@
   (global-set-key (kbd "C-x h") nil) ;; Mark whole buffer
   (global-set-key (kbd "C-a") 'mark-whole-buffer)
   
-  (global-set-key (kbd "C-u") 'ergoemacs-universal-argument)
+  ;; (global-set-key (kbd "C-u") 'ergoemacs-universal-argument)
   (global-set-key (kbd "<M-backspace>") '(undo-tree-undo undo))
   (global-set-key (kbd "C-z") 'undo)
 
@@ -696,7 +696,7 @@
   (global-set-key (kbd "<apps> s") 'save-buffer)
   (global-set-key (kbd "<apps> C-s") 'write-file)
   (global-set-key (kbd "<apps> o") 'find-file)
-  (global-set-key (kbd "<apps> g") 'ergoemacs-unchorded-universal-argument)
+  (global-set-key (kbd "<apps> g") 'ergoemacs-universal-argument)
   (global-set-key (kbd "<apps> w") 'ergoemacs-close-current-buffer)
   (global-set-key (kbd "<apps> x") 'ergoemacs-cut-line-or-region)
   (global-set-key (kbd "<apps> c") 'ergoemacs-copy-line-or-region)
@@ -877,8 +877,12 @@
 (ergoemacs-theme-component ergoemacs-remaps ()
   "Remaps for ergoemacs-mode"
   (when ergoemacs-mode
-    (global-set-key [remap describe-key] 'ergoemacs-describe-key)
-    (global-set-key [remap describe-mode] 'ergoemacs-describe-major-mode)))
+    (global-set-key [remap universal-argument]
+                    'ergoemacs-universal-argument)
+    (global-set-key [remap describe-key]
+                    'ergoemacs-describe-key)
+    (global-set-key [remap describe-mode]
+                    'ergoemacs-describe-major-mode)))
 
 (ergoemacs-theme-component ergoemacs-banish-shift ()
   "Banish Shift Combinations with <apps> SPC"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]