chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8845865
)
dot/emacs: Turn on bracketed-paste support if we can.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 7 Aug 2017 11:58:15 +0000
(12:58 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 7 Aug 2017 11:58:15 +0000
(12:58 +0100)
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.
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index 6cd38f31b01db9e079110816454c8f2aee731321..5a0fd49b293e42af8203863550e9b82f337a3bbc 100644
(file)
--- 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.