Patch security vulnerability for emacs < 25.3
This commit is contained in:
parent
bd287e657a
commit
f7d5d68d43
1 changed files with 6 additions and 0 deletions
6
init.el
6
init.el
|
@ -135,6 +135,12 @@ by Prelude.")
|
|||
|
||||
(message "Prelude is ready to do thy bidding, Master %s!" current-user)
|
||||
|
||||
;; Patch security vulnerability in Emacs versions older than 25.3
|
||||
(when (version< emacs-version "25.3")
|
||||
(eval-after-load "enriched"
|
||||
'(defun enriched-decode-display-prop (start end &optional param)
|
||||
(list start end))))
|
||||
|
||||
(prelude-eval-after-init
|
||||
;; greet the use with some useful tip
|
||||
(run-at-time 5 nil 'prelude-tip-of-the-day))
|
||||
|
|
Loading…
Reference in a new issue