workaround for security vulnerability in Emacs >= 21.1 and < 25.3

This commit is contained in:
Łukasz Pankowski 2017-09-30 14:32:48 +02:00
parent 7804a734af
commit 3896b618c2

10
init.el
View File

@ -688,6 +688,16 @@ inserted between the braces between the braces."
(incf character)))
;;; Workaround for security vulnerability in Emacs >= 21.1 and < 25.3
;;; -----------------------------------------------------------------
;;;
;;; See [Changes in Emacs 25.3](https://www.gnu.org/software/emacs/news/NEWS.25.3)
(eval-after-load "enriched"
'(defun enriched-decode-display-prop (start end &optional param)
(list start end)))
;;; Rest
;;; ----