summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-mtn.el
diff options
context:
space:
mode:
authorStephen Leake <stephen_leake@stephe-leake.org>2016-01-27 15:04:33 -0600
committerStephen Leake <stephen_leake@stephe-leake.org>2016-01-29 17:46:18 -0600
commita71560b0e3011c04dc86546b1da51b828cdf040a (patch)
tree04a1369fc846208937c9412f1d4765f28a2a26e1 /lisp/vc/vc-mtn.el
parent9421b948101689675293a0827ca86321888af83a (diff)
downloademacs-a71560b0e3011c04dc86546b1da51b828cdf040a.tar.gz
Implement vc-mtn-find-ignore-file, fix some doc strings
* lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string. * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string. * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string. * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
Diffstat (limited to 'lisp/vc/vc-mtn.el')
-rw-r--r--lisp/vc/vc-mtn.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el
index 115a6583bb6..0e2e16b44ae 100644
--- a/lisp/vc/vc-mtn.el
+++ b/lisp/vc/vc-mtn.el
@@ -102,6 +102,10 @@ switches."
"Return the administrative directory of FILE."
(expand-file-name vc-mtn-admin-dir (vc-mtn-root file)))
+(defun vc-mtn-find-ignore-file (file)
+ "Return the mtn ignore file that controls FILE."
+ (expand-file-name ".mtnignore" (vc-git-root file)))
+
(defun vc-mtn-registered (file)
(let ((root (vc-mtn-root file)))
(when root