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

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

[elpa] externals/ergoemacs-mode 97623ad 286/325: Remove cua-mode again


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode 97623ad 286/325: Remove cua-mode again
Date: Sat, 23 Oct 2021 18:49:12 -0400 (EDT)

branch: externals/ergoemacs-mode
commit 97623ad1131d16a436a18e37a985c7ccc3d2eb2e
Author: Matthew Fidler <514778+mattfidler@users.noreply.github.com>
Commit: Matthew Fidler <514778+mattfidler@users.noreply.github.com>

    Remove cua-mode again
---
 ergoemacs-mode.el | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index e20fccc..19e0cb3 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -300,8 +300,7 @@ The `execute-extended-command' is now 
\\[execute-extended-command].
         ;;(global-unset-key (kbd "<menu>"))
         ;;(define-key ergoemacs-translate--parent-map [apps] 
'ergoemacs-command-loop--swap-translation)
         ;;(define-key ergoemacs-translate--parent-map [menu] 
'ergoemacs-command-loop--swap-translation)
-        (when ergoemacs-mode-turn-on-cua-mode
-          (cua-mode 1))
+        
         (message "Ergoemacs-mode turned ON (%s)." ergoemacs-keyboard-layout))
     ;; Turn off
     ;; Restore frame parameters
@@ -313,8 +312,6 @@ The `execute-extended-command' is now 
\\[execute-extended-command].
     (remove-hook 'post-command-hook #'ergoemacs-post-command-hook)
     (remove-hook 'pre-command-hook #'ergoemacs-pre-command-hook)
     (remove-hook 'after-load-functions #'ergoemacs-after-load-functions)
-    (when ergoemacs-mode-turn-on-cua-mode
-      (cua-mode 0))
     (ergoemacs-mode--restore-maps)
     (define-key global-map [menu-bar] ergoemacs-old-menu)
     (message "Ergoemacs-mode turned OFF.")))
@@ -367,11 +364,6 @@ This is structured by valid keyboard layouts for
     (fish (">))'>" " >))'>" "  >))'>" "   >))'>" "    >))'>" "   <'((<" "  
<'((<" " <'((<")))
   "Spinners for long commands with `ergoemacs-command-loop'.")
 
-(defcustom ergoemacs-mode-turn-on-cua-mode t
-  "Turn on cua mode when starting `ergoemacs-mode'."
-  :type 'boolean
-  :group 'ergoemacs-mode)
-
 (defcustom ergoemacs-command-loop-spinner (or (and 
ergoemacs-use-unicode-symbols 'dots) 'standard)
   "What spinner to use for long commands with `ergoemacs-command-loop'."
   :type 'sexp



reply via email to

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