branch: master
commit 3f563298c92883dc30ec5ee959c8ba9a477184d0
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Fix references to free variables
---
 mmm-class.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mmm-class.el b/mmm-class.el
index 0ba4637..05e1d6a 100644
--- a/mmm-class.el
+++ b/mmm-class.el
@@ -206,6 +206,7 @@ the rest of the arguments are for an actual class being 
applied. See
 
 (defun* mmm-match-region
     (&key start stop front back front-verify back-verify
+          front-delim back-delim
           include-front include-back front-offset back-offset
           front-form back-form save-matches match-submode match-face
          front-match back-match end-not-begin
@@ -271,8 +272,8 @@ BEGINP, start at \(match-beginning MATCH), else \(match-end 
MATCH),
 and move OFFSET.  Handles all values of OFFSET--see `mmm-classes-alist'."
   (save-excursion
     (goto-char (if beginp
-                  (match-beginning front-match)
-                (match-end back-match)))
+                  (match-beginning match)
+                (match-end match)))
     (dolist (spec (if (listp offset) offset (list offset)))
       (if (numberp spec)
           (forward-char (or spec 0))

Reply via email to