[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 238/287: Fix warnings for cua-clear-rectangle-mark.
From: |
Matthew Fidler |
Subject: |
[elpa] 238/287: Fix warnings for cua-clear-rectangle-mark. |
Date: |
Wed, 02 Jul 2014 14:46:18 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit f1661dea89dfd88528bc1a9f655878db9a4ad98a
Author: Matthew L. Fidler <address@hidden>
Date: Fri Jun 27 00:02:54 2014 -0500
Fix warnings for cua-clear-rectangle-mark.
---
ergoemacs-shortcuts.el | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-shortcuts.el b/ergoemacs-shortcuts.el
index 8bb51cf..bef677d 100644
--- a/ergoemacs-shortcuts.el
+++ b/ergoemacs-shortcuts.el
@@ -518,13 +518,15 @@ It will replace anything defined by
`ergoemacs-translation'"
(declare-function minibuffer-keyboard-quit "delsel.el")
(declare-function ergoemacs-key-fn-lookup "ergoemacs-translate.el")
(declare-function ergoemacs-modal-toggle "ergoemacs-modal.el")
-
+(declare-function cua-clear-rectangle-mark "cua-rect.el")
(defun ergoemacs-keyboard-quit ()
"Replacement for `keyboard-quit' and `minibuffer-keyboard-quit'."
(cond
((minibufferp)
(minibuffer-keyboard-quit))
- ((and (boundp 'cua--rectangle) cua--rectangle (boundp 'cua-mode) cua-mode)
+ ((and (boundp 'cua--rectangle) cua--rectangle
+ (boundp 'cua-mode) cua-mode
+ (fboundp 'cua-clear-rectangle-mark))
(cua-clear-rectangle-mark))
(t
(let (defined-fn
- [elpa] 231/287: Change layout descriptions, (continued)
- [elpa] 231/287: Change layout descriptions, Matthew Fidler, 2014/07/02
- [elpa] 229/287: Fix order of operations, Matthew Fidler, 2014/07/02
- [elpa] 226/287: Remove default redo keys; Possibly Fix Issue #242, Matthew Fidler, 2014/07/02
- [elpa] 224/287: Make undo-tree the default undo method and installed when ergoemacs-mode is installed. Issue #242, Matthew Fidler, 2014/07/02
- [elpa] 228/287: Add `cua-rect` require so that tests pass, Matthew Fidler, 2014/07/02
- [elpa] 219/287: `ergoemacs-select-text-in-quote' can now deal with escaped quote in string., Matthew Fidler, 2014/07/02
- [elpa] 233/287: Change the default option back, Matthew Fidler, 2014/07/02
- [elpa] 230/287: Fix `ergoemacs-beginning-of-line-or-what` and `ergoemacs-end-of-line-or-what`, Matthew Fidler, 2014/07/02
- [elpa] 227/287: Be more careful of cua--rectangle, Matthew Fidler, 2014/07/02
- [elpa] 232/287: Fix beginning of line function again..., Matthew Fidler, 2014/07/02
- [elpa] 238/287: Fix warnings for cua-clear-rectangle-mark.,
Matthew Fidler <=
- [elpa] 240/287: Move the fixed bracket moving to the bracket theme component., Matthew Fidler, 2014/07/02
- [elpa] 236/287: add electric-pair-made as an option, Matthew Fidler, 2014/07/02
- [elpa] 237/287: Expanded outlook integration with Emacs org-mode, Matthew Fidler, 2014/07/02
- [elpa] 234/287: Make comment-search-backward less fragile, Matthew Fidler, 2014/07/02
- [elpa] 235/287: Add the uri encoding function, Matthew Fidler, 2014/07/02
- [elpa] 241/287: Cleanup for select text in quotes, Matthew Fidler, 2014/07/02
- [elpa] 243/287: Make the quote selection consistent., Matthew Fidler, 2014/07/02
- [elpa] 242/287: Fix `ergoemacs-select-text-in-ascii-quote` to work using font-lock, Matthew Fidler, 2014/07/02
- [elpa] 239/287: Allow emacs 24.4 differences for backward-up-list, Matthew Fidler, 2014/07/02
- [elpa] 248/287: Merge pull request #248 from akfoss/master, Matthew Fidler, 2014/07/02