[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master c548593 333/433: * mmm-set-local-variables: Default to mmm
From: |
Dmitry Gutov |
Subject: |
[elpa] master c548593 333/433: * mmm-set-local-variables: Default to mmm-primary-mode |
Date: |
Thu, 15 Mar 2018 19:44:29 -0400 (EDT) |
branch: master
commit c54859311a52f894472509570296d90a992bb2ac
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
* mmm-set-local-variables: Default to mmm-primary-mode
---
mmm-region.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mmm-region.el b/mmm-region.el
index bdcbb88..8d7c2ba 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -616,7 +616,7 @@ Looks up both global, buffer, and region saves."
(funcall (cdar var) (cadr var))
(make-local-variable (car var))
(set (car var) (cadr var))))
- (mmm-get-saved-local-variables mode ovl)))
+ (mmm-get-saved-local-variables (or mode mmm-primary-mode) ovl)))
(defun mmm-get-saved-local-variables (mode ovl)
(append (get mode 'mmm-local-variables)
@@ -753,7 +753,7 @@ of the REGIONS covers START to STOP."
;; `post-command-hook' contains `mmm-update-submode-region',
;; but jit-lock runs later, so we need to restore local vars now.
(mmm-set-current-pair saved-mode saved-ovl)
- (mmm-set-local-variables (or saved-mode mmm-primary-mode) saved-ovl)))
+ (mmm-set-local-variables saved-mode saved-ovl)))
(when loudly (message nil)))
(defun mmm-fontify-region-list (mode regions)
- [elpa] master 55bba22 343/433: Merge pull request #21 from dgutov/syntax-propertize, (continued)
- [elpa] master 55bba22 343/433: Merge pull request #21 from dgutov/syntax-propertize, Dmitry Gutov, 2018/03/15
- [elpa] master f6dd37f 264/433: Added instructions for installing CVS version., Dmitry Gutov, 2018/03/15
- [elpa] master ddb7b42 393/433: fix the problem that mmm-major-mode-preferences has no effect for css., Dmitry Gutov, 2018/03/15
- [elpa] master 00c10a6 429/433: And more, Dmitry Gutov, 2018/03/15
- [elpa] master 859d231 417/433: Update the copyright notices, Dmitry Gutov, 2018/03/15
- [elpa] master 52d2714 388/433: Fix #40, Dmitry Gutov, 2018/03/15
- [elpa] master 48ca941 270/433: *** empty log message ***, Dmitry Gutov, 2018/03/15
- [elpa] master 42bbc22 238/433: * mmm-sample.el (here-doc): Added quotes to here-doc regexp., Dmitry Gutov, 2018/03/15
- [elpa] master 61b9cf4 325/433: Don't pass nil to mmm-set-local-variables, Dmitry Gutov, 2018/03/15
- [elpa] master 625353b 427/433: (Mostly) remove some earlier entries, Dmitry Gutov, 2018/03/15
- [elpa] master c548593 333/433: * mmm-set-local-variables: Default to mmm-primary-mode,
Dmitry Gutov <=
- [elpa] master d652943 397/433: Fix invalid function call, Dmitry Gutov, 2018/03/15
- [elpa] master 50c054c 331/433: Don't recompute the current overlay in mmm-set-local-variables, Dmitry Gutov, 2018/03/15
- [elpa] master 357cee0 321/433: Revert "Refontify buffer when creating new region", Dmitry Gutov, 2018/03/15
- [elpa] master 8a24631 293/433: Add js-mode vars to `mmm-save-local-variables`, Dmitry Gutov, 2018/03/15
- [elpa] master 45cf811 309/433: Document nxml-mode based setup, Dmitry Gutov, 2018/03/15
- [elpa] master 42ecef5 381/433: Allow omitting the close tag of the last PHP code block., Dmitry Gutov, 2018/03/15
- [elpa] master ff6aa17 391/433: Update NEWS, Dmitry Gutov, 2018/03/15
- [elpa] master 8535a68 385/433: * Enable MMM in ERB and PHP files with just one extension (#36), Dmitry Gutov, 2018/03/15
- [elpa] master c6f199d 252/433: Tested for only javascript <script> tags (Joe Kelsey), Dmitry Gutov, 2018/03/15
- [elpa] master 8b9c1e7 303/433: Switch mmm-erb.el to unix line endings, and add closing comment line, Dmitry Gutov, 2018/03/15