[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 176/287: Fix Issue #231
From: |
Matthew Fidler |
Subject: |
[elpa] 176/287: Fix Issue #231 |
Date: |
Wed, 02 Jul 2014 14:45:45 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 009f7ca4d33ba7569a85c008b0b361a833c97d34
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jun 19 13:05:08 2014 -0500
Fix Issue #231
---
ergoemacs-mode.el | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index 63c878d..c9a12d7 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -452,10 +452,10 @@ bindings the keymap is:
(ergoemacs-debug-heading "Ergoemacs Keys have loaded.")
(when (and ergoemacs-use-mac-command-as-meta
(eq system-type 'darwin))
- (let ((cm (or (intern-soft "ns-command-modifier")
- (intern-soft "mac-command-modifier")))
- (am (or (intern-soft "ns-alternate-modifier")
- (intern-soft "mac-alternate-modifier"))))
+ (let ((cm (or (and (boundp 'ns-command-modifier)
'ns-command-modifier)
+ (and (boundp 'mac-command-modifier)
'mac-command-modifier)))
+ (am (or (and (boundp 'ns-alternate-modifier)
'ns-alternate-modifier)
+ (and (boundp 'mac-alternate-modifier)
'mac-alternate-modifier))))
(when cm
(setq ergoemacs-old-ns-command-modifier (symbol-value cm))
(set cm 'meta))
@@ -504,10 +504,10 @@ bindings the keymap is:
(when (featurep 'ergoemacs-menus)
(ergoemacs-menus-off))
(when (and ergoemacs-use-mac-command-as-meta (eq system-type 'darwin))
- (let ((cm (or (intern-soft "ns-command-modifier")
- (intern-soft "mac-command-modifier")))
- (am (or (intern-soft "ns-alternate-modifier")
- (intern-soft "mac-alternate-modifier"))))
+ (let ((cm (or (and (boundp 'ns-command-modifier) 'ns-command-modifier)
+ (and (boundp 'mac-command-modifier)
'mac-command-modifier)))
+ (am (or (and (boundp 'ns-alternate-modifier)
'ns-alternate-modifier)
+ (and (boundp 'mac-alternate-modifier)
'mac-alternate-modifier))))
(when cm
(set cm ergoemacs-old-ns-command-modifier))
(when am
- [elpa] 161/287: Removed check for saved-overriding-map, (continued)
- [elpa] 161/287: Removed check for saved-overriding-map, Matthew Fidler, 2014/07/02
- [elpa] 162/287: Add object-set-name-string compatability with 24.4, Matthew Fidler, 2014/07/02
- [elpa] 166/287: Misc cleanups, Matthew Fidler, 2014/07/02
- [elpa] 167/287: Remove minibuffer hook, Matthew Fidler, 2014/07/02
- [elpa] 168/287: Declare cl-gensym, Matthew Fidler, 2014/07/02
- [elpa] 170/287: Fix declare-function for cl-gensym, Matthew Fidler, 2014/07/02
- [elpa] 169/287: Declare ergoemacs-read-key-default, Matthew Fidler, 2014/07/02
- [elpa] 171/287: Change define-function to autoload, Matthew Fidler, 2014/07/02
- [elpa] 172/287: Make this a emacs 24.4 autoload only, Matthew Fidler, 2014/07/02
- [elpa] 173/287: Non-conditional autoload at the beginning of the file., Matthew Fidler, 2014/07/02
- [elpa] 176/287: Fix Issue #231,
Matthew Fidler <=
- [elpa] 175/287: Change the `describe-mode` to `ergoemacs-describe-major-mode`. That way R will display the correct key to view information (C-h m), Matthew Fidler, 2014/07/02
- [elpa] 178/287: Add ergoemacs-read-key-default to ergoemacs-smart-functions, Matthew Fidler, 2014/07/02
- [elpa] 174/287: Remove adjoin issues in 24.1 and 24.2, Matthew Fidler, 2014/07/02
- [elpa] 179/287: Fix ergoemacs-repeat-movement-commands, Matthew Fidler, 2014/07/02
- [elpa] 181/287: Added `ergoemacs-hook-functions`, Matthew Fidler, 2014/07/02
- [elpa] 177/287: Remove cua-mode treatment in startup, Matthew Fidler, 2014/07/02
- [elpa] 180/287: Remap universal-argument to ergoemacs-universal-argument, Matthew Fidler, 2014/07/02
- [elpa] 182/287: Add package-requires for emacs 24.1, Matthew Fidler, 2014/07/02
- [elpa] 183/287: Split out ert, Matthew Fidler, 2014/07/02
- [elpa] 185/287: Bug fix for ergoemacs-substitute-command., Matthew Fidler, 2014/07/02