[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 85ced66 041/433: # Reformatting.
From: |
Dmitry Gutov |
Subject: |
[elpa] master 85ced66 041/433: # Reformatting. |
Date: |
Thu, 15 Mar 2018 19:43:31 -0400 (EDT) |
branch: master
commit 85ced664b84d2f8efedb39aa5f0b3032de6ab74d
Author: mas <mas>
Commit: mas <mas>
# Reformatting.
---
mmm-cmds.el | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/mmm-cmds.el b/mmm-cmds.el
index 722a6fc..63b8c1b 100644
--- a/mmm-cmds.el
+++ b/mmm-cmds.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-cmds.el,v 1.5 2000/05/18 18:28:47 mas Exp $
+;; Version: $Id: mmm-cmds.el,v 1.6 2000/06/27 00:34:02 mas Exp $
;;{{{ GPL
@@ -42,8 +42,9 @@
(interactive "SSubmode Class: ")
(mmm-apply-class class)
(mmm-add-to-history class)
- (when (and (featurep 'font-lock) font-lock-mode)
- (font-lock-fontify-buffer)))
+ (and (featurep 'font-lock)
+ font-lock-mode
+ (font-lock-fontify-buffer)))
;;}}}
;;{{{ Applying by the Region
@@ -55,8 +56,9 @@
(setq front (mmm-make-marker front t nil)
back (mmm-make-marker back nil nil))
(mmm-add-to-history `(:submode ,submode :front ,front :back ,back))
- (when (and (featurep 'font-lock) font-lock-mode)
- (font-lock-fontify-buffer)))
+ (and (featurep 'font-lock)
+ font-lock-mode
+ (font-lock-fontify-buffer)))
;;}}}
;;{{{ Applying simple Regexps
@@ -76,8 +78,9 @@ nNumber of matched substrings to save: ")
front-offset back-offset save-matches)))
(apply #'mmm-ify args)
(mmm-add-to-history args))
- (when (and (featurep 'font-lock) font-lock-mode)
- (font-lock-fontify-buffer)))
+ (and (featurep 'font-lock)
+ font-lock-mode
+ (font-lock-fontify-buffer)))
;;}}}
;;{{{ Re-parsing Areas
@@ -253,8 +256,9 @@ MODIFIERS, the dotted list becomes simply BASIC-KEY."
:face (plist-get class :face)
:beg-sticky (plist-get class :beg-sticky)
:end-sticky (plist-get class :end-sticky))
- (when (and (featurep 'font-lock) font-lock-mode)
- (font-lock-fontify-region front back)))))))
+ (and (featurep 'font-lock)
+ font-lock-mode
+ (font-lock-fontify-region front back)))))))
(defun mmm-get-insertion-spec (key &optional classlist)
"Get the insertion info for KEY from all classes in CLASSLIST.
- [elpa] master 73a2b86 032/433: # Updated documentation strings., (continued)
- [elpa] master 73a2b86 032/433: # Updated documentation strings., Dmitry Gutov, 2018/03/15
- [elpa] master 04e92ed 034/433: (mmm-save-local-variable): Added comment-line-start-skip for Fortran., Dmitry Gutov, 2018/03/15
- [elpa] master 1d1bd23 038/433: # Changed to use mmm-temp-buffer-name, Dmitry Gutov, 2018/03/15
- [elpa] master 0fbe87a 033/433: Added comment about (require 'mmm-mason)., Dmitry Gutov, 2018/03/15
- [elpa] master 5a34588 028/433: (mmm-overlays-in): Added checks for point-min and point-max for XEmacs., Dmitry Gutov, 2018/03/15
- [elpa] master 54396d3 036/433: Added setting and clearing local variables with mode on and off., Dmitry Gutov, 2018/03/15
- [elpa] master f4f6842 039/433: # Improved local variable setting, added some new ideas., Dmitry Gutov, 2018/03/15
- [elpa] master 988a3db 035/433: (mmm-save-local-variables): Added extra parameters for saving type and, Dmitry Gutov, 2018/03/15
- [elpa] master 3c44251 047/433: # Added comment about loading supplied classes separately., Dmitry Gutov, 2018/03/15
- [elpa] master faaf000 040/433: # Commented on local variable improvements and version numbers., Dmitry Gutov, 2018/03/15
- [elpa] master 85ced66 041/433: # Reformatting.,
Dmitry Gutov <=
- [elpa] master 216c602 046/433: Fixed bug saving variables when creating regions; need to set them first., Dmitry Gutov, 2018/03/15
- [elpa] master 854c8a1 049/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master fbf7da0 045/433: # Updated docstring, Dmitry Gutov, 2018/03/15
- [elpa] master c2f2ef7 050/433: # Changed version numbers, Dmitry Gutov, 2018/03/15
- [elpa] master c22fb9f 054/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master aedb013 060/433: # Updated comment about psgml., Dmitry Gutov, 2018/03/15
- [elpa] master 9afb287 043/433: Added mmm-[get, set]-class-parameters and creation-hook., Dmitry Gutov, 2018/03/15
- [elpa] master 48e8e70 042/433: Fixed bug where font-lock-mode was set to `t' globally, causing, Dmitry Gutov, 2018/03/15
- [elpa] master e77d5b3 026/433: Released 0.3.9., Dmitry Gutov, 2018/03/15
- [elpa] master b6fccc2 044/433: Added creation-hook, fixed mode-name problem., Dmitry Gutov, 2018/03/15