aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
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