[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 60d9e35 129/433: (mmm-make-region): Made sure overlays get
From: |
Dmitry Gutov |
Subject: |
[elpa] master 60d9e35 129/433: (mmm-make-region): Made sure overlays get the delimiter and sticky |
Date: |
Thu, 15 Mar 2018 19:43:49 -0400 (EDT) |
branch: master
commit 60d9e35a01c14379517e0c74dd0f8cfe7ddc48e0
Author: mas <mas>
Commit: mas <mas>
(mmm-make-region): Made sure overlays get the delimiter and sticky
properties even if they aren't passed explicitly.
---
mmm-region.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mmm-region.el b/mmm-region.el
index efe38b7..c07de96 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.20 2000/07/11 21:59:23 mas Exp $
+;; Version: $Id: mmm-region.el,v 1.21 2000/07/29 17:25:14 mas Exp $
;;{{{ GPL
@@ -249,10 +249,10 @@ arguments are stored as properties of the overlay,
un-keyword-ified."
;; Conditionally sticky overlays are by default sticky. Then the
;; insert-in-front and -behind functions fix them.
(let ((ovl (make-overlay beg end nil (not beg-sticky) end-sticky)))
- ;; This loop covers front, back, beg-sticky, end-sticky, and
- ;; anything else the caller wants to put on the overlay. It also
- ;; does face, but we re-do that later because we want to
- ;; defaultify it.
+ ;; Put our properties on the overlay
+ (dolist (prop '(front back beg-sticky end-sticky))
+ (overlay-put ovl prop (symbol-value prop)))
+ ;; Put anything else the caller wants on the overlay
(loop for (var val) on rest by #'cddr
do (overlay-put ovl (intern (substring (symbol-name var) 1)) val))
(mapcar #'(lambda (pair) (overlay-put ovl (car pair) (cadr pair)))
- [elpa] master a8a9d33 122/433: Updated file-variables class to handle prefixes., (continued)
- [elpa] master a8a9d33 122/433: Updated file-variables class to handle prefixes., Dmitry Gutov, 2018/03/15
- [elpa] master 8fd343b 119/433: # Updated folding marks., Dmitry Gutov, 2018/03/15
- [elpa] master 239284f 124/433: # Updated, Dmitry Gutov, 2018/03/15
- [elpa] master c74eeb5 125/433: # Updated email address, Dmitry Gutov, 2018/03/15
- [elpa] master ee185fa 127/433: # Removed a duplicate entry, Dmitry Gutov, 2018/03/15
- [elpa] master e0f50ca 121/433: Wrote File Variables submode class for the new syntax., Dmitry Gutov, 2018/03/15
- [elpa] master dbf0649 126/433: # Updated for SourceForge, Dmitry Gutov, 2018/03/15
- [elpa] master 644b5be 131/433: (here-doc): Updated to use new front-offset values., Dmitry Gutov, 2018/03/15
- [elpa] master 20ae2f5 139/433: # Updated docstring., Dmitry Gutov, 2018/03/15
- [elpa] master 3f20d0f 142/433: # Added CVS snapshot step., Dmitry Gutov, 2018/03/15
- [elpa] master 60d9e35 129/433: (mmm-make-region): Made sure overlays get the delimiter and sticky,
Dmitry Gutov <=
- [elpa] master 447eb61 110/433: Wrote about changing key bindings and local variables., Dmitry Gutov, 2018/03/15
- [elpa] master d504cd7 134/433: (mmm-ify-by-class): Added completion on autoloaded classes. Excluded, Dmitry Gutov, 2018/03/15
- [elpa] master bb60f11 001/433: Initial revision, Dmitry Gutov, 2018/03/15
- [elpa] master da57a75 151/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master b59c78e 086/433: (mmm-update-mode-info): Used `mmm-make-temp-buffer'. Put font-lock, Dmitry Gutov, 2018/03/15
- [elpa] master 3c3042d 093/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master d367aa7 098/433: Added `version.texi' to step 3., Dmitry Gutov, 2018/03/15
- [elpa] master 9a94c1f 097/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master a64bc70 104/433: Added comment about `mmm-global-mode'., Dmitry Gutov, 2018/03/15
- [elpa] master e947f88 107/433: # Updated., Dmitry Gutov, 2018/03/15