aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2024-09-11 21:48:42 +0200
committerThomas Schneider <qsx@chaotikum.eu>2024-09-11 21:48:42 +0200
commitd26912ac5cdc6710f3f599c44f4578a44bffea72 (patch)
tree173648237ee4d8064f95032aa1532457286f429b /dot.emacs.d
parent3e1fda8babc53b4dafbf7c64d0b047949ca1ce48 (diff)
Emacs: calc: pgtk input fix
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 3c1b21d..cad5d37 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -336,7 +336,12 @@
;; Use keypad comma as decimal separator
(use-package calc
:config
- (define-key calc-digit-map (kbd "<kp-separator>") "."))
+ (define-key calc-digit-map (kbd "<kp-separator>") ".")
+
+ ;; Necessary for calc-digit-map kp-separator shenanigans below
+ ;; cf. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56117
+ (if (eq window-system 'pgtk)
+ (pgtk-use-im-context nil)))
;;; Mail
(use-package gnus