[Init] Enable electric-quote-mode only in text-mode buffers
This commit is contained in:
parent
54a3cef8f3
commit
e1da5c0bbf
2
init.el
2
init.el
|
@ -99,7 +99,6 @@
|
||||||
(display-battery-mode -1)
|
(display-battery-mode -1)
|
||||||
|
|
||||||
(electric-pair-mode +1)
|
(electric-pair-mode +1)
|
||||||
(electric-quote-mode +1)
|
|
||||||
|
|
||||||
(recentf-mode t)
|
(recentf-mode t)
|
||||||
(winner-mode 1)
|
(winner-mode 1)
|
||||||
|
@ -139,6 +138,7 @@
|
||||||
;; what is happening here
|
;; what is happening here
|
||||||
(add-hook 'text-mode-hook 'turn-on-flyspell))
|
(add-hook 'text-mode-hook 'turn-on-flyspell))
|
||||||
(add-hook 'text-mode-hook 'yas-minor-mode-on)
|
(add-hook 'text-mode-hook 'yas-minor-mode-on)
|
||||||
|
(add-hook 'text-mode-hook 'electric-quote-mode)
|
||||||
|
|
||||||
;; Auto-Modes
|
;; Auto-Modes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user