aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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