tm 7.49.
[elisp/apel.git] / emu-18.el
index 2b7876a..b9df350 100644 (file)
--- a/emu-18.el
+++ b/emu-18.el
@@ -6,7 +6,7 @@
 ;;;
 ;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
 ;;; Version:
-;;;    $Id: emu-18.el,v 7.8 1996/02/26 01:14:28 morioka Exp $
+;;;    $Id: emu-18.el,v 7.10 1996/04/11 01:04:34 morioka Exp $
 ;;; Keywords: emulation, compatibility
 ;;;
 ;;; This file is part of tl (Tiny Library).
@@ -200,6 +200,18 @@ to create parent directories if they don't exist.
   )
 
 
+;;; @ mode-line
+;;;
+
+;;; Imported from Emacs 19.30.
+(defun force-mode-line-update (&optional all)
+  "Force the mode-line of the current buffer to be redisplayed.
+With optional non-nil ALL, force redisplay of all mode-lines.
+\[emu-18.el; Emacs 19 emulating function]"
+  (if all (save-excursion (set-buffer (other-buffer))))
+  (set-buffer-modified-p (buffer-modified-p)))
+
+
 ;;; @ text property
 ;;;
 
@@ -215,6 +227,15 @@ to create parent directories if they don't exist.
 (defvar mouse-button-3 nil)
 
 
+;;; @ string
+;;;
+
+(defun char-list-to-string (char-list)
+  "Convert list of character CHAR-LIST to string. [emu-18.el]"
+  (mapconcat (function char-to-string) char-list "")
+  )
+
+
 ;;; @ end
 ;;;