[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 15/117: Don't exit if region is active.
From: |
Matthew Fidler |
Subject: |
[elpa] 15/117: Don't exit if region is active. |
Date: |
Fri, 25 Jul 2014 13:23:53 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 811f904b76228eb350b693ef723feeb60e814ccc
Author: Matthew L. Fidler <address@hidden>
Date: Mon Jul 14 15:11:13 2014 -0500
Don't exit if region is active.
---
ergoemacs-shortcuts.el | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ergoemacs-shortcuts.el b/ergoemacs-shortcuts.el
index 4a4be25..e9e5964 100644
--- a/ergoemacs-shortcuts.el
+++ b/ergoemacs-shortcuts.el
@@ -529,10 +529,11 @@ It will replace anything defined by
`ergoemacs-translation'"
(boundp 'cua-mode) cua-mode
(fboundp 'cua-clear-rectangle-mark))
(cua-clear-rectangle-mark))
- ((or (progn
- (setq tmp (key-binding "q"))
- (and (not (symbolp tmp)) (commandp tmp t)))
- (not (string-match "self-insert" (symbol-name tmp))))
+ ((and (not (region-active-p))
+ (or (progn
+ (setq tmp (key-binding "q"))
+ (and (not (symbolp tmp)) (commandp tmp t)))
+ (not (string-match "self-insert" (symbol-name tmp)))))
(call-interactively (key-binding "q")))
(t
(let (defined-fn
- [elpa] 02/117: Lexical binding for ergoemacs-modal, (continued)
- [elpa] 02/117: Lexical binding for ergoemacs-modal, Matthew Fidler, 2014/07/25
- [elpa] 03/117: Lexical binding for ergoemacs-advices, Matthew Fidler, 2014/07/25
- [elpa] 05/117: Only turn on recentf-mode in interactive sessions., Matthew Fidler, 2014/07/25
- [elpa] 07/117: Lexical scoping for ergoemacs-menus, Matthew Fidler, 2014/07/25
- [elpa] 08/117: Lexical binding for ergoemacs-themes, Matthew Fidler, 2014/07/25
- [elpa] 04/117: Lexical Scoping for ergoemacs-functions, Matthew Fidler, 2014/07/25
- [elpa] 09/117: Fix copyright symbol, Matthew Fidler, 2014/07/25
- [elpa] 11/117: Fix Variable binding byte compile warnings, Matthew Fidler, 2014/07/25
- [elpa] 12/117: Lexical binding for ergoemacs-macros, Matthew Fidler, 2014/07/25
- [elpa] 10/117: Lexical binding for ergoemacs-theme-engine, Matthew Fidler, 2014/07/25
- [elpa] 15/117: Don't exit if region is active.,
Matthew Fidler <=
- [elpa] 16/117: Advise describe-buffer-bindings, Matthew Fidler, 2014/07/25
- [elpa] 06/117: Lexical binding for ergoemacs-layouts., Matthew Fidler, 2014/07/25
- [elpa] 18/117: Use save-match-data with ergoemacs-pretty-key, Matthew Fidler, 2014/07/25
- [elpa] 13/117: Remove pop dependence, Matthew Fidler, 2014/07/25
- [elpa] 17/117: Add rudimentary guide-key support; F1/C-h activates guide-key, Matthew Fidler, 2014/07/25
- [elpa] 14/117: Attempt Lexical Scoping for ergoemacs-translate.el, Matthew Fidler, 2014/07/25
- [elpa] 20/117: Add left/right to pretty key descriptions, Matthew Fidler, 2014/07/25
- [elpa] 19/117: Pretty key cleanup, Matthew Fidler, 2014/07/25
- [elpa] 22/117: Fix guide-key-mode requirement, Matthew Fidler, 2014/07/25
- [elpa] 24/117: Comment ergoemacs-substitute-command-keys, Matthew Fidler, 2014/07/25