changeset 124:2ae20e96f6c0

Should really shell quote this arg.
author Augie Fackler <durin42@gmail.com>
date Tue, 07 Jul 2009 14:18:16 -0500
parents b2a07050b430
children 15bcc3e0afeb
files .elisp/settings/50.localfuncs.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/50.localfuncs.el
+++ b/.elisp/settings/50.localfuncs.el
@@ -59,4 +59,4 @@ Symbols matching the text at point are p
 
 (defun hg-rm-this-file ()
   (interactive)
-  (shell-command-to-string (concat "hg rm " buffer-file-name)))
+  (shell-command-to-string (concat "hg rm " (shell-quote-argument buffer-file-name))))