diff .elisp/settings/50.localfuncs.el @ 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 8aa70b521063
children 2ae20e96f6c0
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)))