On 20 March 2014 17:43, Eli Zaretskii wrote: > > Date: Thu, 20 Mar 2014 12:02:49 +0000 > > From: Reuben Thomas > > Cc: Stefan Monnier , Andreas Schwab < > schwab@linux-m68k.org>, > > 17036@debbugs.gnu.org > > > > I didn't discuss the command (it was Glenn Morris who suggested the > name), > > but in my original bug report I said: "This would be useful for > restarting > > having updated my configuration...as it would save having manually to > issue a > > new 'emacs' command..." For this, a simple "exec emacs" is enough, but > why > > not throw in command-line arguments too. > > I'm probably missing something, because I don't see how "exec emacs" > will do what you want. I'm sorry, I seem to have made a total hash of explaining something really simple. In effect, I want kill-emacs-and-exec, which takes a list of arguments, runs kill-emacs, and then execs the argument list. In fact, since kill-emacs can't currently take a list, it could be extended to do so. save-buffers-kill-emacs could be likewise extended. Does that make sense now?