branch: master
commit 3895201f6afad755aae8f6a2b3cdb562b786d263
Merge: 05a787e 7f9dbdb
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Merge pull request #3 from dgutov/shortcuts-fix
    
    Fix `mmm-insert-region' to not abort loop too soon
---
 mmm-cmds.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/mmm-cmds.el b/mmm-cmds.el
index fef13c8..3dc73b6 100644
--- a/mmm-cmds.el
+++ b/mmm-cmds.el
@@ -357,9 +357,7 @@ including global classes."
         ;; If we have a group class, recurse.
         if (plist-get class :classes)
            if (mmm-get-insertion-spec key it)
-              return it
-           else
-              return nil))
+              return it))
 
 ;;}}}
 ;;{{{ Help on Insertion

Reply via email to