working system
This commit is contained in:
commit
e0ad4ea627
53 changed files with 2927 additions and 0 deletions
16
lisp/init-spelling.el
Normal file
16
lisp/init-spelling.el
Normal file
|
@ -0,0 +1,16 @@
|
|||
;;; init-spelling.el --- Spell check settings -*- lexical-binding: t -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require 'ispell)
|
||||
|
||||
(when (executable-find ispell-program-name)
|
||||
;; Add spell-checking in comments for all programming language modes
|
||||
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
|
||||
|
||||
(with-eval-after-load 'flyspell
|
||||
(define-key flyspell-mode-map (kbd "C-;") nil)
|
||||
(add-to-list 'flyspell-prog-text-faces 'nxml-text-face)))
|
||||
|
||||
(provide 'init-spelling)
|
||||
;;; init-spelling.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue