[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 588edf0 169/433: (mmm-set-file-name-for-modes): Changed to
From: |
Dmitry Gutov |
Subject: |
[elpa] master 588edf0 169/433: (mmm-set-file-name-for-modes): Changed to a list for finer control. |
Date: |
Thu, 15 Mar 2018 19:43:56 -0400 (EDT) |
branch: master
commit 588edf05c4fb8e8921d654c0a7e56e450a52ef47
Author: mas <mas>
Commit: mas <mas>
(mmm-set-file-name-for-modes): Changed to a list for finer control.
---
mmm-vars.el | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/mmm-vars.el b/mmm-vars.el
index ce63b6e..3919a66 100644
--- a/mmm-vars.el
+++ b/mmm-vars.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-vars.el,v 1.29 2000/08/23 03:53:45 mas Exp $
+;; Version: $Id: mmm-vars.el,v 1.30 2000/08/29 09:27:34 mas Exp $
;;{{{ GPL
@@ -99,7 +99,10 @@
comment-indent-function
comment-line-break-function
sentence-end
- ,@(if mmm-xemacs '(mode-popup-menu) '())
+ ,@(when mmm-xemacs
+ '(mode-popup-menu
+ (((lambda () current-menubar) . set-buffer-menubar))
+ ))
font-lock-keywords
font-lock-keywords-only
font-lock-keywords-case-fold-search
@@ -393,13 +396,11 @@ an existing buffer."
;;}}}
;;{{{ Buffer File Name
-(defvar mmm-set-buffer-file-name-p nil
- "If non-nil, temporary buffers have `buffer-file-name' set.
-If so, is set to the corresponding value of the parent buffer. In
-general, this has been found to cause more problems than it solves.
-If you have code in a mode hook that depends on `buffer-file-name'
-being set, I suggest you change it, but if that is infeasible, you may
-set this variable to a non-nil value instead.")
+(defvar mmm-set-file-name-for-modes '(mew-draft-mode)
+ "List of modes for which temporary buffers have a file name.
+If so, it is the same as that of the parent buffer. In general, this
+has been found to cause more problems than it solves, but some modes
+require it.")
;;}}}
- [elpa] master 23170fe 205/433: Added `mmm-primary-mode' variable so that `major-mode' can be saved., (continued)
- [elpa] master 23170fe 205/433: Added `mmm-primary-mode' variable so that `major-mode' can be saved., Dmitry Gutov, 2018/03/15
- [elpa] master 72ca55f 213/433: # Updated menus., Dmitry Gutov, 2018/03/15
- [elpa] master c95f9b0 157/433: Added file (contributed by Marcus Harnisch)., Dmitry Gutov, 2018/03/15
- [elpa] master c9c6c19 194/433: Added ePerl and JSP to autoload., Dmitry Gutov, 2018/03/15
- [elpa] master c659e19 141/433: Released 0.4.4, Dmitry Gutov, 2018/03/15
- [elpa] master d06e9a3 143/433: (mmm-here-doc-get-mode): Extended to recognize names like TEXT_EOF., Dmitry Gutov, 2018/03/15
- [elpa] master 28cda1d 160/433: # Added headers., Dmitry Gutov, 2018/03/15
- [elpa] master ad9724f 140/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master 36e10b1 167/433: (mmm-ify): Explicitly set defaults for keywords in &rest parameter., Dmitry Gutov, 2018/03/15
- [elpa] master 944e3b4 173/433: Set MASON_VERSION., Dmitry Gutov, 2018/03/15
- [elpa] master 588edf0 169/433: (mmm-set-file-name-for-modes): Changed to a list for finer control.,
Dmitry Gutov <=
- [elpa] master 5f96947 177/433: # Added comment about apostrophes, Dmitry Gutov, 2018/03/15
- [elpa] master a58c9bc 178/433: Added comment about adding files to the distribution., Dmitry Gutov, 2018/03/15
- [elpa] master e31cf25 170/433: (mmm-update-mode-info): Tested against `mmm-set-file-name-for-modes'., Dmitry Gutov, 2018/03/15
- [elpa] master 2defd28 188/433: (mmm-save-local-variables): Added `parse-sexp-ignore-comments', which, Dmitry Gutov, 2018/03/15
- [elpa] master e4084f8 186/433: Added set-background example for XEmacs., Dmitry Gutov, 2018/03/15
- [elpa] master cbbb3cc 162/433: Added comments on RPM Spec, File Variables, and Here-documents., Dmitry Gutov, 2018/03/15
- [elpa] master 7374d58 193/433: Added ePerl submode class., Dmitry Gutov, 2018/03/15
- [elpa] master 2802d0b 182/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master 2d7d17f 195/433: (mmm-major-mode-preferences): Added check for `jde-mode' for Java code., Dmitry Gutov, 2018/03/15
- [elpa] master 33baef7 179/433: Added file, Dmitry Gutov, 2018/03/15