Mercurial > hg > xemacs-beta
comparison lisp/gnus/gnus-uu.el @ 28:1917ad0d78d7 r19-15b97
Import from CVS: tag r19-15b97
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:55 +0200 |
parents | 8fc7fe29b841 |
children | ec9a17fef872 |
comparison
equal
deleted
inserted
replaced
27:0a3286277d9b | 28:1917ad0d78d7 |
---|---|
1693 (kill-buffer buf)))) | 1693 (kill-buffer buf)))) |
1694 | 1694 |
1695 (defun gnus-quote-arg-for-sh-or-csh (arg) | 1695 (defun gnus-quote-arg-for-sh-or-csh (arg) |
1696 (let ((pos 0) new-pos accum) | 1696 (let ((pos 0) new-pos accum) |
1697 ;; *** bug: we don't handle newline characters properly | 1697 ;; *** bug: we don't handle newline characters properly |
1698 (while (setq new-pos (string-match "[!`\"$\\& \t]" arg pos)) | 1698 (while (setq new-pos (string-match "[!`\"$\\& \t{}]" arg pos)) |
1699 (push (substring arg pos new-pos) accum) | 1699 (push (substring arg pos new-pos) accum) |
1700 (push "\\" accum) | 1700 (push "\\" accum) |
1701 (push (list (aref arg new-pos)) accum) | 1701 (push (list (aref arg new-pos)) accum) |
1702 (setq pos (1+ new-pos))) | 1702 (setq pos (1+ new-pos))) |
1703 (if (= pos 0) | 1703 (if (= pos 0) |