(vip-custom-file-name): Use convert-standard-filename.
[bpt/emacs.git] / lisp / emulation / mlconvert.el
index 20b5146..491799c 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1985 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
-;; Keywords: extensions
+;; Keywords: emulations
 
 ;; This file is part of GNU Emacs.
 
 ;; along with GNU Emacs; see the file COPYING.  If not, write to
 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
+;;; Commentary:
+
+;; This package converts Mocklisp code written under a Gosling or UniPress
+;; Emacs for use with GNU Emacs.  The translated code will require runtime
+;; support from the mlsupport.el equivalent.
+
 ;;; Code:
 
 ;;;###autoload
                       (if (looking-at "setq[ \t\n]+buffer-modified-p")
                           (replace-match "set-buffer-modified-p"))))
 
-(ml-expansion 'while '(lambda ()
-                        (let ((end (progn (forward-sexp 2) (point-marker)))
-                              (start (progn (forward-sexp -1) (point))))
-                          (let ((cond (buffer-substring start end)))
-                            (cond ((equal cond "1")
-                                   (delete-region (point) end)
-                                   (insert "t"))
-                                  (t
-                                   (insert "(not (zerop ")
-                                   (goto-char end)
-                                   (insert "))")))
-                            (set-marker end nil)
-                            (goto-char start)))))
+;;(ml-expansion 'while '(lambda ()
+;;                      (let ((end (progn (forward-sexp 2) (point-marker)))
+;;                            (start (progn (forward-sexp -1) (point))))
+;;                        (let ((cond (buffer-substring start end)))
+;;                          (cond ((equal cond "1")
+;;                                 (delete-region (point) end)
+;;                                 (insert "t"))
+;;                                (t
+;;                                 (insert "(not (zerop ")
+;;                                 (goto-char end)
+;;                                 (insert "))")))
+;;                          (set-marker end nil)
+;;                          (goto-char start)))))
 
 (ml-expansion 'arg "ml-arg")
 (ml-expansion 'nargs "ml-nargs")
 (ml-expansion 'get-tty-no-blanks-input "read-no-blanks-input")
 (ml-expansion 'get-tty-key "read-key")
 
+(ml-expansion 'concat "ml-concat")
 (ml-expansion 'c= "char-equal")
 (ml-expansion 'goto-character "goto-char")
 (ml-expansion 'substr "ml-substr")