emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master ccecc35 057/433: (mmm-valid-buffer): Checked against nonin


From: Dmitry Gutov
Subject: [elpa] master ccecc35 057/433: (mmm-valid-buffer): Checked against noninteractive and hidden buffers.
Date: Thu, 15 Mar 2018 19:43:34 -0400 (EDT)

branch: master
commit ccecc3564f140a175ff8f9b83592542f0c3a7e1c
Author: mas <mas>
Commit: mas <mas>

    (mmm-valid-buffer): Checked against noninteractive and hidden buffers.
---
 mmm-utils.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/mmm-utils.el b/mmm-utils.el
index 26ef5e2..fb3e7a5 100644
--- a/mmm-utils.el
+++ b/mmm-utils.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-utils.el,v 1.3 2000/06/26 22:23:16 mas Exp $
+;; Version: $Id: mmm-utils.el,v 1.4 2000/06/29 18:23:01 mas Exp $
 
 ;;{{{ GPL
 
@@ -43,7 +43,9 @@
 This means if not currently in one of the temporary buffers that MMM
 Mode creates, and not in one of `mmm-never-modes'."
   `(unless (or (equal (buffer-name) mmm-temp-buffer-name)
-               (memq major-mode mmm-never-modes))
+               (memq major-mode mmm-never-modes)
+               noninteractive
+               (eq (aref (buffer-name) 0) ?\ ))
      ,@body))
 
 ;;;(def-edebug-spec mmm-valid-buffer t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]