Emacs: Start browser edits in text mode
parent
8089233334
commit
2c735e7533
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue