mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(ml-concat): New function.
This commit is contained in:
parent
bdafb772d7
commit
f2d9e61da4
1 changed files with 10 additions and 0 deletions
|
|
@ -419,6 +419,16 @@
|
|||
(if (< to 0) (setq to (+ to length)))
|
||||
(substring string from (+ from to))))
|
||||
|
||||
(defun ml-concat (&rest args)
|
||||
(let ((newargs nil) this)
|
||||
(while args
|
||||
(setq this (car args))
|
||||
(if (numberp this)
|
||||
(setq this (number-to-string this)))
|
||||
(setq newargs (cons this newargs)
|
||||
args (cdr args)))
|
||||
(apply 'concat (nreverse newargs))))
|
||||
|
||||
(provide 'mlsupport)
|
||||
|
||||
;;; mlsupport.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue