;;;
;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Version:
-;;; $Id: emu-18.el,v 6.0 1995/09/21 00:06:48 morioka Exp $
+;;; $Id: emu-18.el,v 6.1 1995/09/28 02:45:20 morioka Exp $
;;; Keywords: emulation, compatibility
;;;
;;; This file is part of tl and tm (Tools for MIME).
;;;
+;;; @ hook
+;;;
+
;; This function is imported from AUC TeX.
(defun add-hook (hook function &optional append)
"Add to the value of HOOK the function FUNCTION.
))
))
+
+;;; @ list
+;;;
+
(defun member (elt list)
"Return non-nil if ELT is an element of LIST. Comparison done with EQUAL.
The value is actually the tail of LIST whose car is ELT.
(setq list (cdr list)))
list)
+
+;;; @ function
+;;;
+
(defun defalias (SYM NEWDEF)
"Set SYMBOL's function definition to NEWVAL, and return NEWVAL.
Associates the function with the current load file, if any.
(fset SYM (symbol-function NEWDEF))
NEWDEF)
+(defun byte-code-function-p (exp)
+ (let* ((rest (cdr (cdr exp))) elt)
+ (if (stringp (car rest))
+ (setq rest (cdr rest))
+ )
+ (catch 'tag
+ (while rest
+ (setq elt (car rest))
+ (if (and (consp elt)(eq (car elt) 'byte-code))
+ (throw 'tag t)
+ )
+ (setq rest (cdr rest))
+ ))))
+
+
+;;; @ directory
+;;;
+
(defun make-directory-internal (dirname)
"Create a directory. One argument, a file name string.
\[emu-18 Emacs 19 emulating function]"
(make-directory-internal dir)
))
+
+;;; @ mouse
+;;;
+
(defvar mouse-button-2 nil)
+
+;;; @ end
+;;;
+
(provide 'emu-18)