Mercurial > emacs
comparison lisp/eshell/esh-var.el @ 63403:668456cdf6a1
(eshell/export): Fix quoting in docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 14 Jun 2005 11:33:54 +0000 |
parents | b89e30bcd2bb |
children | c9af72762fae a1b34dec1104 |
comparison
equal
deleted
inserted
replaced
63402:1fce9257f24f | 63403:668456cdf6a1 |
---|---|
295 (cons alias-def | 295 (cons alias-def |
296 eshell-variable-aliases-list)))) | 296 eshell-variable-aliases-list)))) |
297 nil) | 297 nil) |
298 | 298 |
299 (defun eshell/export (&rest sets) | 299 (defun eshell/export (&rest sets) |
300 "This alias allows the 'export' command to act as bash users expect." | 300 "This alias allows the `export' command to act as bash users expect." |
301 (while sets | 301 (while sets |
302 (if (and (stringp (car sets)) | 302 (if (and (stringp (car sets)) |
303 (string-match "^\\([^=]+\\)=\\(.*\\)" (car sets))) | 303 (string-match "^\\([^=]+\\)=\\(.*\\)" (car sets))) |
304 (setenv (match-string 1 (car sets)) | 304 (setenv (match-string 1 (car sets)) |
305 (match-string 2 (car sets)))) | 305 (match-string 2 (car sets)))) |