aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
authorKarl Heuer1995-03-22 20:39:17 +0000
committerKarl Heuer1995-03-22 20:39:17 +0000
commitf2d9e61da405b9f3cd2cebde538a76c4f3055be3 (patch)
treeaff1159a6ff5ecc195e2abcdd3a53ff9a407849e /lisp/emulation
parentbdafb772d7534c31582cbf85ab151563dcfde3d5 (diff)
downloademacs-f2d9e61da405b9f3cd2cebde538a76c4f3055be3.tar.gz
emacs-f2d9e61da405b9f3cd2cebde538a76c4f3055be3.zip
(ml-concat): New function.
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/mlsupport.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/emulation/mlsupport.el b/lisp/emulation/mlsupport.el
index 3596036d0e5..d60b3809dfd 100644
--- a/lisp/emulation/mlsupport.el
+++ b/lisp/emulation/mlsupport.el
@@ -419,6 +419,16 @@
419 (if (< to 0) (setq to (+ to length))) 419 (if (< to 0) (setq to (+ to length)))
420 (substring string from (+ from to)))) 420 (substring string from (+ from to))))
421 421
422(defun ml-concat (&rest args)
423 (let ((newargs nil) this)
424 (while args
425 (setq this (car args))
426 (if (numberp this)
427 (setq this (number-to-string this)))
428 (setq newargs (cons this newargs)
429 args (cdr args)))
430 (apply 'concat (nreverse newargs))))
431
422(provide 'mlsupport) 432(provide 'mlsupport)
423 433
424;;; mlsupport.el ends here 434;;; mlsupport.el ends here