2 ;;; emu-19.el --- emu module for FSF original Emacs 19.*
4 ;;; Copyright (C) 1995 Free Software Foundation, Inc.
5 ;;; Copyright (C) 1995,1996 MORIOKA Tomohiko
7 ;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
9 ;;; $Id: emu-19.el,v 7.8 1996/07/22 18:52:53 morioka Exp $
10 ;;; Keywords: emulation, compatibility
12 ;;; This file is part of tl (Tiny Library).
14 ;;; This program is free software; you can redistribute it and/or
15 ;;; modify it under the terms of the GNU General Public License as
16 ;;; published by the Free Software Foundation; either version 2, or
17 ;;; (at your option) any later version.
19 ;;; This program is distributed in the hope that it will be useful,
20 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 ;;; General Public License for more details.
24 ;;; You should have received a copy of the GNU General Public License
25 ;;; along with This program. If not, write to the Free Software
26 ;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
33 (defalias 'tl:set-text-properties 'set-text-properties)
34 (defalias 'tl:add-text-properties 'add-text-properties)
35 (defalias 'tl:make-overlay 'make-overlay)
36 (defalias 'tl:overlay-put 'overlay-put)
37 (defalias 'tl:overlay-buffer 'overlay-buffer)
40 ;;; @@ visible/invisible
43 (defmacro enable-invisible ())
45 (defmacro end-of-invisible ())
47 (defun invisible-region (start end)
50 (eq (following-char) ?\n)
54 (put-text-property start end 'invisible t)
57 (defun visible-region (start end)
58 (put-text-property start end 'invisible nil)
61 (defun invisible-p (pos)
62 (get-text-property pos 'invisible)
65 (defun next-visible-point (pos)
67 (goto-char (next-single-property-change pos 'invisible))
68 (if (eq (following-char) ?\n)
78 (defvar mouse-button-1 [mouse-1])
79 (defvar mouse-button-2 [mouse-2])
80 (defvar mouse-button-3 [down-mouse-3])
86 (defmacro char-list-to-string (char-list)
87 "Convert list of character CHAR-LIST to string. [emu-19.el]"
88 (` (mapconcat (function char-to-string)
99 ;;; emu-19.el ends here