Deactivate C-; more pleasantly.

This commit is contained in:
tastytea 2019-03-30 17:50:50 +01:00
parent c2b6f26c96
commit ebe041a552
2 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-30 16:18:39 CET>
;;; Time-stamp: <2019-03-30 17:50:46 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -544,10 +544,6 @@
(executable-find "ispell"))
(unless slow-computer
(use-package flyspell
:init
(defun my/delete-flyspell-keybinding ()
"Delete \"C-;\" keybinding because iedit needs it."
(define-key flyspell-mode-map (kbd "C-;") nil))
:custom
(ispell-dictionary "english")
:config
@ -563,10 +559,11 @@
(ispell-change-dictionary "german"))
:bind
("<f6>" . my/toggle-flyspell)
(:map flyspell-mode-map
("C-;" . nil)) ; iedit needs C-;.
:hook
;; Spellcheck comments.
(prog-mode . flyspell-prog-mode)
(flyspell-prog-mode . my/delete-flyspell-keybinding)
;; Spellcheck LaTeX
(LaTeX-mode . my/flyspell-german)
(LaTeX-mode . flyspell-mode))))

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 24608
127.0.0.1:51313 6224
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh