branch: externals/mmm-mode commit ff0b214f27d5dddeb856acb4216e77a864dcc0b2 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Release 0.5.7 --- NEWS | 3 +++ configure.in | 2 +- mmm-class.el | 6 ++++-- mmm-mode.el | 2 +- mmm-vars.el | 5 ++++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 6ce3e19..7cc30ed 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ See the file COPYING for copying conditions. Please submit bug reports at https://github.com/purcell/mmm-mode/issues +* Changes in MMM Mode 0.5.7 +Fixes for mmm-indent-line-narrowed. + * Changes in MMM Mode 0.5.6 Emacs 25 compatibility fix when cl is not loaded. diff --git a/configure.in b/configure.in index f33843f..c30f8f0 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT() -AM_INIT_AUTOMAKE(mmm-mode, 0.5.6) +AM_INIT_AUTOMAKE(mmm-mode, 0.5.7) dnl dnl Apparently, if you run a shell window in Emacs, it sets the EMACS diff --git a/mmm-class.el b/mmm-class.el index 6b7d604..d745519 100644 --- a/mmm-class.el +++ b/mmm-class.el @@ -115,8 +115,10 @@ and interactive history." (mmm-clear-overlays start stop 'strict) (mmm-apply-classes (mmm-get-all-classes t) :start start :stop stop) (mmm-update-submode-region) - (syntax-ppss-flush-cache start) - (syntax-propertize stop) + ;; Try to continue supporting XEmacs for a while. + (when (fboundp 'syntax-propertize) + (syntax-ppss-flush-cache start) + (syntax-propertize stop)) (mmm-refontify-maybe start stop)) ;;}}} diff --git a/mmm-mode.el b/mmm-mode.el index f3a8223..cca89b8 100644 --- a/mmm-mode.el +++ b/mmm-mode.el @@ -8,7 +8,7 @@ ;; Maintainer: Dmitry Gutov <dgu...@yandex.ru> ;; URL: https://github.com/purcell/mmm-mode ;; Keywords: convenience, faces, languages, tools -;; Version: 0.5.6 +;; Version: 0.5.7 ;; Package-Requires: ((cl-lib "0.2")) ;;{{{ GPL diff --git a/mmm-vars.el b/mmm-vars.el index 3c14b09..b567bb0 100644 --- a/mmm-vars.el +++ b/mmm-vars.el @@ -311,6 +311,9 @@ (whitespace-font-lock-mode buffer) (whitespace-font-lock-keywords buffer) (whitespace-mode buffer) + (whitespace-point--used buffer) + (whitespace-point buffer) + (whitespace-bob-marker buffer) forward-sexp-function smie-rules-function smie-grammar @@ -1044,7 +1047,7 @@ The CLASSES are all made private, i.e. non-user-visible." ;;}}} ;;{{{ Version Number -(defconst mmm-version "0.5.6" +(defconst mmm-version "0.5.7" "Current version of MMM Mode.") (defun mmm-version ()