|
From: | Andreas Schwab |
Subject: | bug#10125: RFE: require and load-path-shadowing |
Date: | Wed, 16 Jan 2013 11:06:43 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) |
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes: > (defun run-emacs (command) > "Run the Emacs COMMAND in the background via `shell-command'." > (interactive > (let ((program (expand-file-name invocation-name invocation-directory))) > (list (read-string "Emacs command: " > (cons (concat program > (if (cdr command-line-args) > (mapconcat 'identity > (cdr command-line-args) You need to use shell-quote-argument to properly shell-quote each argument. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |