From 391a2142ca0c7cff09629a3e83d31ec69d4c42c0 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 3 Mar 1997 17:31:19 +0000 Subject: [PATCH] Require emu; definitions about visible/invisible were abolished. --- mime-edit.el | 70 +++------------------------------------------------------- 1 file changed, 3 insertions(+), 67 deletions(-) diff --git a/mime-edit.el b/mime-edit.el index 0bf47b3..15c1509 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -7,7 +7,7 @@ ;; Maintainer: MORIOKA Tomohiko ;; Created: 1994/08/21 renamed from mime.el ;; Renamed: 1997/2/21 from tm-edit.el -;; Version: $Revision: 0.53 $ +;; Version: $Revision: 0.54 $ ;; Keywords: MIME, multimedia, multilingual, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -108,6 +108,7 @@ ;;; Code: +(require 'emu) (require 'sendmail) (require 'mail-utils) (require 'mel) @@ -121,7 +122,7 @@ ;;; (defconst mime-edit-RCS-ID - "$Id: mime-edit.el,v 0.53 1997-03-01 03:48:34 tmorioka Exp $") + "$Id: mime-edit.el,v 0.54 1997-03-03 17:31:19 morioka Exp $") (defconst mime-edit-version (get-version-string mime-edit-RCS-ID)) @@ -664,71 +665,6 @@ Tspecials means any character that matches with it in header must be quoted.") ) ;;; end -;;; @@ visible/invisible -;;; - -(defmacro enable-invisible ()) - -(defmacro end-of-invisible ()) - -(cond (running-xemacs - (defun invisible-region (start end) - (if (save-excursion - (goto-char start) - (eq (following-char) ?\n) - ) - (setq start (1+ start)) - ) - (put-text-property start end 'invisible t) - ) - (defun invisible-p (pos) - (if (save-excursion - (goto-char pos) - (eq (following-char) ?\n) - ) - (setq pos (1+ pos)) - ) - (get-text-property pos 'invisible) - ) - (defun next-visible-point (pos) - (save-excursion - (if (save-excursion - (goto-char pos) - (eq (following-char) ?\n) - ) - (setq pos (1+ pos)) - ) - (or (next-single-property-change pos 'invisible) - (point-max)) - )) - ) - (t - (defun invisible-region (start end) - (if (save-excursion - (goto-char (1- end)) - (eq (following-char) ?\n) - ) - (setq end (1- end)) - ) - (put-text-property start end 'invisible t) - ) - (defun invisible-p (pos) - (get-text-property pos 'invisible) - ) - (defun next-visible-point (pos) - (save-excursion - (goto-char (next-single-property-change pos 'invisible)) - (if (eq (following-char) ?\n) - (forward-char) - ) - (point) - )) - )) - -(defun visible-region (start end) - (put-text-property start end 'invisible nil) - ) - ;;; @ functions ;;; -- 1.7.10.4