From: Mark Wooding Date: Mon, 7 Aug 2017 11:58:15 +0000 (+0100) Subject: dot/emacs: Turn on bracketed-paste support if we can. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/cc8e0bb67c78f77c38eeb88841da47cd1be29c83 dot/emacs: Turn on bracketed-paste support if we can. This is on by default in Emacs 25, which I don't have yet. Otherwise, clone https://github.com/hchbaw/bracketed-paste.el and put the resulting thing somewhere in the Emacs load-path. --- diff --git a/dot/emacs b/dot/emacs index 6cd38f3..5a0fd49 100644 --- a/dot/emacs +++ b/dot/emacs @@ -36,6 +36,9 @@ (require 'cl) (require 'dot-emacs) +(unless (mdw-emacs-version-p 25) + (trap (require 'bracketed-paste) (bracketed-paste-enable))) + ;;;-------------------------------------------------------------------------- ;;; Some random initialisation.