branch: elpa/magit commit 895e4feced0eea2875422db9bd4a3d417af78732 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-file-{rename,untrack,delete}: Autoload --- lisp/magit-files.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/magit-files.el b/lisp/magit-files.el index 765979727c..f361254aeb 100644 --- a/lisp/magit-files.el +++ b/lisp/magit-files.el @@ -419,6 +419,7 @@ the same location in the respective file in the working tree." ;;; File Commands +;;;###autoload (defun magit-file-rename (file newname) "Rename or move FILE to NEWNAME. NEWNAME may be a file or directory name. If FILE isn't tracked in @@ -455,6 +456,7 @@ Git, fallback to using `rename-file'." (vc-find-file-hook)))))) (magit-refresh)) +;;;###autoload (defun magit-file-untrack (files &optional force) "Untrack the selected FILES or one file read in the minibuffer. @@ -469,6 +471,7 @@ staged as well as unstaged changes." (magit-with-toplevel (magit-run-git "rm" "--cached" (and force "--force") "--" files))) +;;;###autoload (defun magit-file-delete (files &optional force) "Delete the selected FILES or one file read in the minibuffer.