emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master c8e7b80 168/433: (mmm-make-region): Explicitly set keyword


From: Dmitry Gutov
Subject: [elpa] master c8e7b80 168/433: (mmm-make-region): Explicitly set keyword defaults in &rest parameter.
Date: Thu, 15 Mar 2018 19:43:56 -0400 (EDT)

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 <address@hidden>
-;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]