[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 22/117: Fix guide-key-mode requirement
From: |
Matthew Fidler |
Subject: |
[elpa] 22/117: Fix guide-key-mode requirement |
Date: |
Fri, 25 Jul 2014 13:23:57 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 2dd7ff6b04125e332eadf9d62a76e741611dcf4f
Author: Matthew L. Fidler <address@hidden>
Date: Tue Jul 15 13:57:30 2014 -0500
Fix guide-key-mode requirement
---
ergoemacs-shortcuts.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ergoemacs-shortcuts.el b/ergoemacs-shortcuts.el
index caea96f..93f8d1c 100644
--- a/ergoemacs-shortcuts.el
+++ b/ergoemacs-shortcuts.el
@@ -507,7 +507,7 @@ It will replace anything defined by `ergoemacs-translation'"
(interactive)
;; Eventually...
(if (not ergoemacs-read-key) nil
- (if guide-key-mode
+ (if (and (boundp 'guide-key-mode) guide-key-mode)
(let ((key ergoemacs-read-key))
(if (equal ergoemacs-read-key-last-help ergoemacs-read-key)
(progn
@@ -634,7 +634,7 @@ In addition, when the function is called:
"
(setq ergoemacs-deactivate-mark nil)
- (when (and ergoemacs-read-key-last-help guide-key-mode)
+ (when (and ergoemacs-read-key-last-help (boundp 'guide-key-mode)
guide-key-mode)
(setq ergoemacs-read-key-last-help nil)
(guide-key/close-guide-buffer))
(cond
@@ -1057,7 +1057,7 @@ argument prompt.
(setq type real-type)
(setq curr-universal first-universal)
(setq real-type nil))
- (when (and ergoemacs-read-key guide-key-mode
+ (when (and ergoemacs-read-key (boundp 'guide-key-mode) guide-key-mode
(not (equal ergoemacs-read-key-last-help ergoemacs-read-key))
(guide-key/popup-guide-buffer-p ergoemacs-read-key))
(setq ergoemacs-read-key-last-help ergoemacs-read-key)
@@ -1078,7 +1078,7 @@ argument prompt.
(cond
((and (not ergoemacs-read-key))
(ergoemacs-keyboard-quit))
- ((and ergoemacs-read-key-last-help guide-key-mode)
+ ((and ergoemacs-read-key-last-help (boundp 'guide-key-mode)
guide-key-mode)
(setq ergoemacs-read-key-last-help nil
guide-key/guide-key-sequence (delete (key-description
ergoemacs-read-key) guide-key/guide-key-sequence)
continue-read t)
- [elpa] 10/117: Lexical binding for ergoemacs-theme-engine, (continued)
- [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, 2014/07/25
- [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 <=
- [elpa] 24/117: Comment ergoemacs-substitute-command-keys, Matthew Fidler, 2014/07/25
- [elpa] 21/117: Better guide-key support, Matthew Fidler, 2014/07/25
- [elpa] 25/117: Add command prompt here and powershell here, Matthew Fidler, 2014/07/25
- [elpa] 23/117: Fix (substitute-command-keys "\\[recover-session]"), Matthew Fidler, 2014/07/25
- [elpa] 27/117: Fix recursive loading in ergoemacs-mode source, Matthew Fidler, 2014/07/25
- [elpa] 30/117: Declare w32-long-file-name, Matthew Fidler, 2014/07/25
- [elpa] 29/117: Cleanup byte compile, Matthew Fidler, 2014/07/25
- [elpa] 31/117: More emcompassing shell prompt regexp, Matthew Fidler, 2014/07/25
- [elpa] 26/117: Fix load dependence, See Issue #232, Matthew Fidler, 2014/07/25
- [elpa] 33/117: Added space as separtor for PS1 prompt, Matthew Fidler, 2014/07/25