Emacs: Remove web form / qutebrowser settings.

I use exwm-edit and Next browser now.
master
Pierre Neidhardt 2019-11-02 13:21:21 +01:00
parent be599bdbca
commit 0e3a063dc9
1 changed files with 0 additions and 9 deletions

View File

@ -367,15 +367,6 @@
(buffer-string))
(insert "= " result)))))
;;; Web forms.
;;; Remove auto-fill in web edits because wikis and forums do not like it.
;;; This works for qutebrowser, but may need changes for other browsers.
(defun ambrevar/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-*") . ambrevar/browser-edit))
(when (require 'wgrep nil t)
;; TODO: wgrep-face is not so pretty.
(set-face-attribute 'wgrep-face nil :inherit 'ediff-current-diff-C :foreground 'unspecified :background 'unspecified :box nil))