branch: externals/ergoemacs-mode commit eaf281275311bea197df0b38ffed9c05add4c4f9 Author: Matthew Fidler <514778+mattfid...@users.noreply.github.com> Commit: Matthew Fidler <514778+mattfid...@users.noreply.github.com>
Suppress more warnings --- ergoemacs-layouts.el | 14 ++++++++------ ergoemacs-map.el | 5 ++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ergoemacs-layouts.el b/ergoemacs-layouts.el index dc3f913..db39808 100644 --- a/ergoemacs-layouts.el +++ b/ergoemacs-layouts.el @@ -69,6 +69,7 @@ ;; From Baptiste Fouques ;; changed to bepo because it breaks how I run things (unfortunately)... +(defvaralias 'ergoemacs-layout-bépo 'ergoemacs-layout-bepo) (defvar ergoemacs-layout-bepo '("" "$" "\"" "«" "»" "(" ")" "@" "+" "-" "/" "*" "=" "%" "" "" "" "b" "é" "p" "o" "è" "^" "v" "d" "l" "j" "z" "w" "" @@ -95,7 +96,6 @@ "" ">" "W" "X" "C" "V" "B" "N" "?" "." "/" "+" "" "" "") "Belgian AZERTY.") -(defvaralias 'ergoemacs-layout-bépo 'ergoemacs-layout-bepo) (defvar ergoemacs-layout-colemak '("" "`" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "-" "=" "" @@ -122,6 +122,7 @@ "Danish layout.") ;; From Thomas Rikl +(defvaralias 'ergoemacs-layout-ge 'ergoemacs-layout-de) (defvar ergoemacs-layout-de '("" "" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "ß" "" "" "" "" "q" "w" "e" "r" "t" "z" "u" "i" "o" "p" "ü" "+" "" @@ -146,6 +147,7 @@ "" "" "K" "Y" "Ö" "Ä" "Q" "J" "G" "W" "V" "Z" "" "" "") "German BU-TECK Layout. URL `http://www.adnw.de'.") +(defvaralias 'ergoemacs-layout-us_dvorak 'ergoemacs-layout-dv) (defvar ergoemacs-layout-dv '("" "`" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "[" "]" "" "" "" "'" "," "." "p" "y" "f" "g" "c" "r" "l" "/" "=" "\\" @@ -182,6 +184,8 @@ "" "" "Z" "Ĉ" "C" "V" "B" "N" "M" ";" ":" "?" "" "" "") "Esperanto (displaced semicolon and quote, obsolete) layout.") +(defvaralias 'ergoemacs-layout-sp 'ergoemacs-layout-es) + (defvar ergoemacs-layout-es '("" "°" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "'" "¡" "" "" "" "q" "w" "e" "r" "t" "y" "u" "i" "o" "p" "`" "+" "" @@ -255,7 +259,6 @@ "" "|" ":" "Q" "J" "K" "X" "B" "M" "W" "V" "Z" "" "" "") "UK Dvorak layout.") -(defvaralias 'ergoemacs-layout-ge 'ergoemacs-layout-de) (defvar ergoemacs-layout-it '("" "\\" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "'" "¡" "" @@ -293,6 +296,7 @@ "" ">" "Z" "X" "C" "V" "B" "N" "M" ";" ":" "_" "" "" "") "Norwegian layout.") + (defvar ergoemacs-layout-programmer-dv '("" "$" "&" "[" "{" "}" "(" "=" "*" ")" "+" "]" "!" "#" "" "" "" ";" "," "." "p" "y" "f" "g" "c" "r" "l" "/" "@" "\\" @@ -317,7 +321,6 @@ "" "»" "Y" "Ç" "J" "B" "K" "Q" "V" "G" "F" "Z" "" "" "") "PT Nativo layout URL `http://xahlee.info/kbd/pt-nativo_keyboard_layout.html'.") -(defvaralias 'ergoemacs-layout-sp 'ergoemacs-layout-es) (defvar ergoemacs-layout-sw '("" "½" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "+" "’" "" @@ -343,8 +346,6 @@ "" "" "Z" "X" "C" "V" "B" "N" "M" "<" ">" "?" "" "" "") "US English QWERTY layout.") -(defvaralias 'ergoemacs-layout-us_dvorak 'ergoemacs-layout-dv) - (defvar ergoemacs-layout-workman '("" "`" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "-" "=" "" "" "" "q" "d" "r" "w" "b" "j" "f" "u" "p" ";" "[" "]" "\\" @@ -369,6 +370,8 @@ "" "" "Z" "X" "M" "C" "V" "K" "L" "<" ">" "?" "" "" "") "US Workman layout. URL `http://www.workmanlayout.com/blog/'.") +(defvaralias 'ergoemacs-layout-jcuken 'ergoemacs-layout-ru) + (defvar ergoemacs-layout-ru '("" "" "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "-" "=" "\\" "" "" "й" "ц" "у" "к" "е" "н" "г" "ш" "щ" "з" "х" "ъ" "" @@ -381,7 +384,6 @@ "" "" "Я" "Ч" "С" "М" "И" "Т" "Ь" "Б" "Ю" "," "" "" "") "Russian/Cryllic jcuken layout.") -(defvaralias 'ergoemacs-layout-jcuken 'ergoemacs-layout-ru) (require 'help-mode) (defvar quail-keyboard-layout-alist) diff --git a/ergoemacs-map.el b/ergoemacs-map.el index 8702952..4ae7c22 100644 --- a/ergoemacs-map.el +++ b/ergoemacs-map.el @@ -60,6 +60,7 @@ (defvar ergoemacs-mode--fast-p) (defvar ergoemacs-remap-ignore) (defvar ergoemacs-component-struct--composed-hook-minibuffer) +(defvar term-raw-map) (declare-function ergoemacs-timing-- "ergoemacs-mode") @@ -1027,9 +1028,7 @@ When INI is non-nil, add conditional maps to `minor-mode-map-alist'." (if (not (eq major-mode 'term-mode)) (use-local-map (ergoemacs current-local-map)) (progn - (setq term-raw-map (ergoemacs term-raw-map)) - (use-local-map term-raw-map)) - ) + (use-local-map (ergoemacs term-raw-map)))) (setq ergoemacs-map--breadcrumb "")) (when (and (minibufferp) ergoemacs-read-from-minibuffer-map) ;; Preserve bindings for space, such as when completing a filename