summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Markert <markert.michael@googlemail.com>2012-01-22 17:21:18 +0100
committerMichael Markert <markert.michael@googlemail.com>2012-01-22 17:21:18 +0100
commitfc676618e1a7fd892f35ef726c352d52ccae74c8 (patch)
tree2bb8625fc56cdb2bc3d23906463e0e67a3ac62b8
parentd911f1eb70aa1071ae0f2bcce60cd9369a43d556 (diff)
Make surround-pairs-alist buffer local.
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
-rw-r--r--surround.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/surround.el b/surround.el
index abeb6e4..824da99 100644
--- a/surround.el
+++ b/surround.el
@@ -62,6 +62,7 @@ This only affects inserting pairs, not deleting or changing them."
:group 'surround
:type '(repeat (cons (regexp :tag "Key")
(symbol :tag "Surround pair"))))
+(make-variable-buffer-local 'surround-pairs-alist)
(defvar surround-read-tag-map
(let ((map (copy-keymap minibuffer-local-map)))