emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug#10125: RFE: require and load-path-shadowing


From: Kevin Rodgers
Subject: [O] bug#10125: RFE: require and load-path-shadowing
Date: Wed, 16 Jan 2013 07:59:23 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

On 1/16/13 3:06 AM, Andreas Schwab wrote:
Kevin Rodgers<address@hidden>  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.

Thanks, Andreas!

--
Kevin Rodgers
Denver, Colorado, USA






reply via email to

[Prev in Thread] Current Thread [Next in Thread]