branch: master
commit 7f9dbdb01e28a4b545132f72b999e57ba525d537
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    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