changeset 117:67bfc48b2a61

Function for removing a file from Mercurial.
author Augie Fackler <durin42@gmail.com>
date Wed, 01 Jul 2009 13:15:56 -0500
parents 85d912e123af
children e5f02ede61e3
files .elisp/settings/50.localfuncs.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/50.localfuncs.el
+++ b/.elisp/settings/50.localfuncs.el
@@ -55,3 +55,8 @@ Symbols matching the text at point are p
   (interactive)
   (set-frame-parameter nil 'fullscreen
                        (if (frame-parameter nil 'fullscreen) nil 'fullboth)))
+
+
+(defun hg-rm-this-file ()
+  (interactive)
+  (shell-command-to-string (concat "hg rm " buffer-file-name)))