From d30aca1b7a03b76bb055e1895b96a18a6fbff404 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 20 Aug 2012 11:26:46 -0400 Subject: [PATCH] * lisp/progmodes/hideshow.el (hs-block-end-regexp): Restore lost buffer local setting. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/hideshow.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d205e36a749..d37b054e9d0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-08-20 Dan Nicolaescu + + * progmodes/hideshow.el (hs-block-end-regexp): Restore lost + buffer local setting. + 2012-08-15 Chong Yidong * Version 24.2 released. 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'. -- 2.39.2