# HG changeset patch # User Augie Fackler # Date 1246994296 18000 # Node ID 2ae20e96f6c0095754569eec7835b4c273791abd # Parent b2a07050b43035cce69b44dee72c4670bd980082 Should really shell quote this arg. diff --git a/.elisp/settings/50.localfuncs.el b/.elisp/settings/50.localfuncs.el --- 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))))