Commit 94760756 authored by Victor A. Stoichiţă's avatar Victor A. Stoichiţă
Browse files

only load electric-quote-mode in text files

parent 4af0ba6d
......@@ -38,7 +38,6 @@
;;;; Basics
;; (setq visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)) ; materialiser les limites des lignes
(electric-pair-mode)
(electric-quote-mode) ; Pair curved quotes for opening/closing
(setq sentence-end-double-space nil)
(setq-default use-hard-newlines t) ; <RET> or Ctrl-o to insert hard new lines (never filled)
(global-set-key (kbd "M-q") 'org-fill-paragraph) ; Rebind M-q to the org function which seems to work better in mails etc.
......@@ -76,9 +75,11 @@
(add-hook 'text-mode-hook (lambda ()
(set-syntax-table V-syntax-table)
(local-set-key "«" 'V-guillemets)
(electric-quote-mode) ; Pair curved quotes for opening/closing
(turn-on-visual-line-mode)))
(add-hook 'mu4e-compose-mode-hook (lambda ()
(local-set-key "«" 'V-guillemets)
(orgalist-mode 1)
(turn-on-visual-line-mode)))
;;;; Opposite of fill-paragraph
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment