Emacs: Remove web form / qutebrowser settings.
I use exwm-edit and Next browser now.master
parent
be599bdbca
commit
0e3a063dc9
|
@ -367,15 +367,6 @@
|
||||||
(buffer-string))
|
(buffer-string))
|
||||||
(insert "= " result)))))
|
(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)
|
(when (require 'wgrep nil t)
|
||||||
;; TODO: wgrep-face is not so pretty.
|
;; TODO: wgrep-face is not so pretty.
|
||||||
(set-face-attribute 'wgrep-face nil :inherit 'ediff-current-diff-C :foreground 'unspecified :background 'unspecified :box nil))
|
(set-face-attribute 'wgrep-face nil :inherit 'ediff-current-diff-C :foreground 'unspecified :background 'unspecified :box nil))
|
||||||
|
|
Loading…
Reference in New Issue