Skip to content

Commit

Permalink
tm 7.85.
Browse files Browse the repository at this point in the history
  • Loading branch information
morioka committed Mar 10, 1998
1 parent 7de2503 commit aa7882b
Show file tree
Hide file tree
Showing 5 changed files with 391 additions and 82 deletions.
55 changes: 55 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
Sun Sep 15 08:04:02 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* tl: Version 7.61.4 was released.

* emu-x20.el: `code-converter-is-broken' was abolished.

Sun Sep 15 07:55:48 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* TL-ELS (tl-modules): Don't use `running-xemacs-20'.

Sun Sep 15 07:53:34 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* TL-ELS (tl-modules): Use variable `running-mule-merged-emacs'
and `running-xemacs-with-mule'.

Sun Sep 15 07:49:19 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* emu-18.el (directory-files): redefine.

Sun Sep 15 07:27:12 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* emu.el: Variable `running-xemacs-20' was abolished.

Sun Sep 15 06:53:44 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* emu.el (running-mule-merged-emacs, running-xemacs-with-mule):
New variable.

Sat Sep 14 07:57:51 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* emu-e20.el (string-to-char-list): New function.

Sat Sep 14 07:44:35 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* TL-ELS (tl-modules): Add emu-e20 for mule merged EMACS.

* emu.el: Use emu-e20 for mule merged EMACS.

* emu-e20.el: New module for mule merged EMACS.

Sat Sep 14 05:07:00 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* smiley-mule.el (smiley-face-bitmap-list): Use "(T_T" instead of
"(T_T)".

Fri Sep 13 04:50:13 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* smiley-mule.el (smiley-face-bitmap-list): Use "(T_T)" instead of
"T_T".

Wed Sep 11 03:47:49 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* smiley-mule.el (smiley-buffer): Don't ignore case.


Sat Sep 7 17:22:15 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>

* tl: Version 7.61.3 was released.
Expand Down
33 changes: 23 additions & 10 deletions emu-18.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; emu-18.el --- Emacs 19.* emulation module for Emacs 18.*
;;; emu-18.el --- EMACS 19.* emulation module for EMACS 18.*

;; Copyright (C) 1995,1996 Free Software Foundation, Inc.

Expand Down Expand Up @@ -34,7 +34,7 @@
;;; @ hook
;;;

;; These function are imported from Emacs 19.28.
;; These function are imported from EMACS 19.28.
(defun add-hook (hook function &optional append)
"Add to the value of HOOK the function FUNCTION.
FUNCTION is not added if already present.
Expand All @@ -45,7 +45,7 @@ FUNCTION is added at the end.
HOOK should be a symbol, and FUNCTION may be any valid function. If
HOOK is void, it is first set to nil. If HOOK's value is a single
function, it is changed to a list of functions.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(or (boundp hook)
(set hook nil)
)
Expand Down Expand Up @@ -75,7 +75,7 @@ function, it is changed to a list of functions.
HOOK should be a symbol, and FUNCTION may be any valid function. If
FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the
list of hooks to run in HOOK, then nothing is done. See `add-hook'.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(if (or (not (boundp hook)) ;unbound symbol, or
(null (symbol-value hook)) ;value is nil, or
(null function)) ;function is nil, then
Expand All @@ -96,7 +96,7 @@ list of hooks to run in HOOK, then nothing is done. See `add-hook'.
(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.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(while (and list (not (equal elt (car list))))
(setq list (cdr list)))
list)
Expand All @@ -108,7 +108,7 @@ If the first member of LIST is ELT, deleting it is not a side effect;
it is simply using a different list.
Therefore, write `(setq foo (delete element foo))'
to be sure of changing the value of `foo'.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(if (equal elt (car list))
(cdr list)
(let ((rest list)
Expand All @@ -128,13 +128,13 @@ to be sure of changing the value of `foo'.
(defun defalias (sym newdef)
"Set SYMBOL's function definition to NEWVAL, and return NEWVAL.
Associates the function with the current load file, if any.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(fset sym newdef)
)

(defun byte-code-function-p (exp)
"T if OBJECT is a byte-compiled function object.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(and (consp exp)
(let* ((rest (cdr (cdr exp))) elt)
(if (stringp (car rest))
Expand All @@ -156,7 +156,7 @@ Associates the function with the current load file, if any.

(defun make-directory-internal (dirname)
"Create a directory. One argument, a file name string.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(if (file-exists-p dirname)
(error "Creating directory: %s is already exist" dirname)
(if (not (= (call-process "mkdir" nil nil nil dirname) 0))
Expand All @@ -167,7 +167,7 @@ Associates the function with the current load file, if any.
"Create the directory DIR and any nonexistent parent dirs.
The second (optional) argument PARENTS says whether
to create parent directories if they don't exist.
\[emu-18.el; Emacs 19 emulating function]"
\[emu-18.el; EMACS 19 emulating function]"
(let ((len (length dir))
(p 0) p1 path)
(catch 'tag
Expand Down Expand Up @@ -205,7 +205,20 @@ to create parent directories if they don't exist.
ancestor (concat "../" ancestor)))
(concat ancestor (substring filename (match-end 0)))))

(or (fboundp 'si:directory-files)
(fset 'si:directory-files (symbol-function 'directory-files)))
(defun directory-files (directory &optional full match nosort)
"Return a list of names of files in DIRECTORY.
There are three optional arguments:
If FULL is non-nil, return absolute file names. Otherwise return names
that are relative to the specified directory.
If MATCH is non-nil, mention only file names that match the regexp MATCH.
If NOSORT is dummy for compatibility.
\[emu-18.el; EMACS 19 emulating function]"
(si:directory-files directory full match)
)


;;; @ mark
;;;

Expand Down
Loading

0 comments on commit aa7882b

Please sign in to comment.