Emacs: Remove obsolete (26.*) config.

master
Pierre Neidhardt 2020-09-27 10:36:21 +02:00
parent ea0872cbd4
commit aff8b7dd11
1 changed files with 2 additions and 12 deletions

View File

@ -151,7 +151,7 @@
;; REVIEW: If xdg-open is not found, set Emacs URL browser to the environment browser,
;; or w3m if BROWSER is not set.
;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18986.
;; In Emacs 26, the BROWSER variable is still not checked.
;; In Emacs 27, the BROWSER variable is still not checked.
(require 'browse-url)
(setq browse-url-generic-program (or
(executable-find (or (getenv "BROWSER") ""))
@ -184,12 +184,7 @@
(".ogv" . "video/ogg")
(".wmv" . "video/x-ms-wmv")
(".mkv" . "video/x-matroska")))
(add-to-list 'mailcap-mime-extensions ext))
(when (version<= "26.2" emacs-version)
(assoc-delete-all
"mpeg"
(alist-get "video" mailcap-mime-data
nil nil #'string-equal))))
(add-to-list 'mailcap-mime-extensions ext)))
;;; Default ispell dictionary. If not set, Emacs uses the current locale.
(setq ispell-dictionary "english")
@ -346,11 +341,6 @@
;; edebug-test-coverage t
;; edebug-trace t)
;;; Make windowing more reactive on. This is especially true with Helm on EXWM.
;; TODO: Test if still a problem with Emacs 27.
(when (= emacs-major-version 26)
(setq x-wait-for-event-timeout nil))
(when (require 'so-long nil 'noerror)
(global-so-long-mode 1))