From 2c735e75338f4815202882f7ca0deada64ac20ac Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 2 Nov 2017 15:06:50 +0100 Subject: [PATCH] Emacs: Start browser edits in text mode --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8888e669..5803420c 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -340,6 +340,7 @@ ;;; This works for qutebrowser, but may need changes for other browsers. (defun browser-edit () (when (require 'with-editor nil t) (with-editor-mode)) + (text-mode) (auto-fill-mode -1)) (add-to-list 'auto-mode-alist `(,(concat (getenv "BROWSER") "-editor-*") . browser-edit))