Mercurial > hg > xemacs-beta
comparison lisp/gnus/gnus-uu.el @ 104:cf808b4c4290 r20-1b4
Import from CVS: tag r20-1b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:16:51 +0200 |
parents | 0d2f883870bc |
children | 360340f9fd5f |
comparison
equal
deleted
inserted
replaced
103:30eda07fe280 | 104:cf808b4c4290 |
---|---|
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) |