branch: master
commit c8e7b8048e0992ba098d091f1a7c2d10fa68673f
Author: mas <mas>
Commit: mas <mas>
(mmm-make-region): Explicitly set keyword defaults in &rest parameter.
---
mmm-region.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mmm-region.el b/mmm-region.el
index 99a9a4e..91c29cf 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <[email protected]>
-;; Version: $Id: mmm-region.el,v 1.24 2000/08/23 03:53:45 mas Exp $
+;; Version: $Id: mmm-region.el,v 1.25 2000/08/24 23:00:37 mas Exp $
;;{{{ GPL
@@ -238,6 +238,8 @@ determine whether the front and back of the region,
respectively, are
sticky with respect to new insertion. CREATION-HOOK should be a
function to run after the region is created. All other keyword
arguments are stored as properties of the overlay, un-keyword-ified."
+ (setq rest (append rest (list :front front :back back :beg-sticky
+ beg-sticky :end-sticky end-sticky)))
(mmm-mode-on)
;; For now, complain about overlapping regions. Most callers should
;; trap this and continue on. In future, submode regions will be