summaryrefslogtreecommitdiff
path: root/lisp/progmodes/hideshow.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2012-08-20 11:26:46 -0400
committerDan Nicolaescu <dann@ics.uci.edu>2012-08-20 11:26:46 -0400
commitd30aca1b7a03b76bb055e1895b96a18a6fbff404 (patch)
tree2abdbac0c9aed24c36002dfe9f35127cd6991d52 /lisp/progmodes/hideshow.el
parent0c53f13cb5e48f308ba68fb09cf7b2fec73869bb (diff)
downloademacs-d30aca1b7a03b76bb055e1895b96a18a6fbff404.tar.gz
* lisp/progmodes/hideshow.el (hs-block-end-regexp): Restore lost
buffer local setting.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r--lisp/progmodes/hideshow.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 26db60ddbc2..8463648e679 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -408,6 +408,8 @@ element (using `match-beginning') before calling `hs-forward-sexp-func'.")
(defvar hs-block-end-regexp nil
"Regexp for end of block.")
+(make-variable-buffer-local 'hs-block-end-regexp)
+
(defvar hs-forward-sexp-func 'forward-sexp
"Function used to do a `forward-sexp'.