[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 46185e0 232/433: Made C indentation style variables buffer
From: |
Dmitry Gutov |
Subject: |
[elpa] master 46185e0 232/433: Made C indentation style variables buffer-local. |
Date: |
Thu, 15 Mar 2018 19:44:10 -0400 (EDT) |
branch: master
commit 46185e05df368dd418d75d55dad7781d8f5f32e4
Author: viritrilbia <viritrilbia>
Commit: viritrilbia <viritrilbia>
Made C indentation style variables buffer-local.
Continue on all MMM errors.
---
mmm-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mmm-mode.el b/mmm-mode.el
index 10adf70..ce8a4ff 100644
--- a/mmm-mode.el
+++ b/mmm-mode.el
@@ -8,7 +8,7 @@
;; Keywords: convenience, faces, languages, tools
;; Version: 0.4.7
-;; Revision: $Id: mmm-mode.el,v 1.12 2001/02/23 22:44:28 viritrilbia Exp $
+;; Revision: $Id: mmm-mode.el,v 1.13 2001/05/16 23:19:27 viritrilbia Exp $
;;{{{ GPL
@@ -319,6 +319,8 @@ Programming | Tools | Mmm, except the major mode and
submode hooks
(mmm-valid-buffer
(unless mmm-mode
(setq mmm-primary-mode major-mode)
+ (when (fboundp 'c-make-styles-buffer-local)
+ (c-make-styles-buffer-local t))
(mmm-update-mode-info major-mode)
(setq mmm-region-saved-locals-for-dominant
(list* (list 'font-lock-cache-state nil)
@@ -336,7 +338,7 @@ Programming | Tools | Mmm, except the major mode and
submode hooks
(setq mmm-mode t)
(condition-case err
(mmm-apply-all)
- (mmm-invalid-submode-class
+ (mmm-error
;; Complain, but don't die, since we want files to go ahead
;; and be opened anyway, and the mode to go ahead and be
;; turned on. Should we delete all previously made submode
- [elpa] master c75f330 317/433: Merge pull request #15 from dgutov/master, (continued)
- [elpa] master c75f330 317/433: Merge pull request #15 from dgutov/master, Dmitry Gutov, 2018/03/15
- [elpa] master c1997e1 313/433: Revert unintended check-in of mmm-erb changes, Dmitry Gutov, 2018/03/15
- [elpa] master c42fcb2 286/433: Compatibility fix for mode line format of Emacs 23, Dmitry Gutov, 2018/03/15
- [elpa] master b171ba0 324/433: Merge pull request #17 from dgutov/retro, Dmitry Gutov, 2018/03/15
- [elpa] master 53bd8b4 319/433: Remove duplicate entries, Dmitry Gutov, 2018/03/15
- [elpa] master 5f276a1 307/433: Update instructions and docstrings, Dmitry Gutov, 2018/03/15
- [elpa] master a0b1ecc 320/433: Merge pull request #16 from dgutov/c++-mode, Dmitry Gutov, 2018/03/15
- [elpa] master a5a24df 322/433: Fix the timer error: "Selecting deleted buffer", Dmitry Gutov, 2018/03/15
- [elpa] master 0b30852 244/433: * mmm-vars.el (mmm-c-derived-modes): Added php-mode., Dmitry Gutov, 2018/03/15
- [elpa] master 34c3a19 212/433: Updated mode preferences to check fboundp when regions are created., Dmitry Gutov, 2018/03/15
- [elpa] master 46185e0 232/433: Made C indentation style variables buffer-local.,
Dmitry Gutov <=
- [elpa] master fee1b52 211/433: Added file with Emacs-related macros from Alan Shutko., Dmitry Gutov, 2018/03/15
- [elpa] master 3c68c28 235/433: * mmm-sample.el (httpd-conf-perl): Added submode class from Rob, Dmitry Gutov, 2018/03/15
- [elpa] master c8cfb89 346/433: * mmm-noweb.el: Qualify the "doesn't work" statement., Dmitry Gutov, 2018/03/15
- [elpa] master 8e7e76b 355/433: Move html-js and html-css classes from mmm-erb to mmm-sample, Dmitry Gutov, 2018/03/15
- [elpa] master 4c51cd9 315/433: Merge pull request #13 from dgutov/master, Dmitry Gutov, 2018/03/15
- [elpa] master 23be0d3 272/433: * mmm-vars.el (mmm-save-local-variables): Updated cc-mode local, Dmitry Gutov, 2018/03/15
- [elpa] master 423ead2 353/433: Say goodbye to Emacs 19, Dmitry Gutov, 2018/03/15
- [elpa] master 5bff562 304/433: Add a few docstrings to make checkdoc happier., Dmitry Gutov, 2018/03/15
- [elpa] master 3710268 350/433: Some compatibiliy tweaks, Dmitry Gutov, 2018/03/15
- [elpa] master dddd397 245/433: * .cvsignore: Add semantic.cache., Dmitry Gutov, 2018/03/15