[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 2798242 192/325: Remove all of the ERGOE
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode 2798242 192/325: Remove all of the ERGOEMACS-* environment variables |
Date: |
Sat, 23 Oct 2021 18:48:51 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit 2798242ad38107b2cce25d0d3dde141d92177227
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove all of the ERGOEMACS-* environment variables
---
ergoemacs-functions.el | 2 --
ergoemacs-lib.el | 1 -
ergoemacs-mode.el | 12 ++++--------
3 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 94b8bfa..fefba48 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -272,8 +272,6 @@ The PROCESS is the process where the clean environment is
run."
(ergoemacs-load (or ergoemacs-run-clean
" --load=\"ergoemacs-mode\"
--load=\"ergoemacs-test\" --eval \"(progn (require 'elp) (setq debug-on-error
t) (elp-instrument-package (symbol-name 'ergoemacs-)) (ergoemacs-mode 1)
(run-with-idle-timer 0.1 nil 'elp-results))\""))
cmd process rm-batch)
- (when ergoemacs-keyboard-layout
- (setenv "ERGOEMACS_KEYBOARD_LAYOUT" ergoemacs-keyboard-layout))
(cond
((with-current-buffer (get-buffer-create "*ergoemacs-clean*")
(not ergoemacs-terminal))
diff --git a/ergoemacs-lib.el b/ergoemacs-lib.el
index 5e7681c..4abe2ae 100644
--- a/ergoemacs-lib.el
+++ b/ergoemacs-lib.el
@@ -506,7 +506,6 @@ The reset is done with `ergoemacs-mode-reset'."
(interactive)
(if (called-interactively-p 'any)
(progn
- (setenv "ERGOEMACS_KEYBOARD_LAYOUT" ergoemacs-keyboard-layout)
(shell-command (format "%s -Q --batch -l %s/ergoemacs-mode --eval
\"(ergoemacs-gen-ahk %s)\" &"
(ergoemacs-emacs-exe)
ergoemacs-dir (if current-prefix-arg "t"
"nil"))))
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index f29c224..5dbb1db 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -111,9 +111,7 @@ Added beginning-of-buffer Alt+n (QWERTY notation) and
end-of-buffer Alt+Shift+n"
ergoemacs-variant
(if (and (boundp 'ergoemacs-theme)
ergoemacs-theme)
ergoemacs-theme
- (if (getenv "ERGOEMACS_THEME")
- (getenv "ERGOEMACS_THEME")
- nil)))
+ nil))
"Ergoemacs Keyboard Layout Themes."
:type '(choice
(const :tag "Standard" :value nil)
@@ -140,9 +138,8 @@ Added beginning-of-buffer Alt+n (QWERTY notation) and
end-of-buffer Alt+Shift+n"
(defvar ergoemacs-map--breadcrumb ""
"Breadcrumb that is used to figure out what map is being modified.")
-(defcustom ergoemacs-keyboard-layout (or (getenv "ERGOEMACS_KEYBOARD_LAYOUT")
"us")
- (concat "Specifies which keyboard layout to use.
- This is a mirror of the environment variable ERGOEMACS_KEYBOARD_LAYOUT.")
+(defcustom ergoemacs-keyboard-layout "us"
+ (concat "Specifies which keyboard layout to use.")
:type 'sexp
:set #'ergoemacs-set-default
:initialize #'custom-initialize-default
@@ -721,9 +718,8 @@ not be useful. However instead of using
(autoload 'ergoemacs-theme "ergoemacs-macros")
(autoload 'ergoemacs "ergoemacs-macros")
-(defcustom ergoemacs-keyboard-layout (or (getenv "ERGOEMACS_KEYBOARD_LAYOUT")
"us")
+(defcustom ergoemacs-keyboard-layout "us"
(concat "Specifies which keyboard layout to use.
-This is a mirror of the environment variable ERGOEMACS_KEYBOARD_LAYOUT.
Valid values are:
" (ergoemacs-layouts--custom-documentation)
- [elpa] externals/ergoemacs-mode dc9878c 127/325: Move a whole bunch of bindings into regular functions, (continued)
- [elpa] externals/ergoemacs-mode dc9878c 127/325: Move a whole bunch of bindings into regular functions, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6e2383d 128/325: Put all of the non-mode key bindings into regular functions, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7c07d8e 136/325: Remove bindings for icicle, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 4c27ce9 141/325: Unset keys in compilation mode, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6bd00c1 148/325: Recent menu sort of works, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode d66bd33 162/325: Fix calc binding for undo and C-f test, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7145e87 174/325: Fix ergoemacs-move-cursor-previous-pane and ergoemacs-cut-line-or-region, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 2f6dcd0 184/325: Remove some translation stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 63f665b 153/325: Make calc-bindings work again., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode fc84e0e 177/325: Make M-up, down global rather than override keys, so they can be overridden, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 2798242 192/325: Remove all of the ERGOEMACS-* environment variables,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode a671c6e 196/325: Make theme-describe sort of work, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 0ad1a45 197/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6f340f9 199/325: Change help of a prefix key to 'Prefix Key', Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 977f035 206/325: Fix creating png help images, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode fd10f7c 214/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode bef9844 207/325: Remove the Ergoemacs menu, change ? -> Help, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 4bd4660 219/325: Convert component--prompt to layout-prompt, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode e05f951 222/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a074551 224/325: Remove more, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 64215dc 223/325: Remove some unused theme functions, Stefan Monnier, 2021/10/23