summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/ex/ex_cmd.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-18 23:36:52 +0000
committerjkh <jkh@FreeBSD.org>1997-04-18 23:36:52 +0000
commitc87043915bcfdce2b8ed90750a5f5ed2ee987535 (patch)
tree39809647dfb0188b77313938742b106bf2b0d919 /contrib/nvi/ex/ex_cmd.c
parent385cd60e059598672473eaed82f6c2bc41774df1 (diff)
downloadFreeBSD-src-c87043915bcfdce2b8ed90750a5f5ed2ee987535.zip
FreeBSD-src-c87043915bcfdce2b8ed90750a5f5ed2ee987535.tar.gz
Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
Diffstat (limited to 'contrib/nvi/ex/ex_cmd.c')
-rw-r--r--contrib/nvi/ex/ex_cmd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/nvi/ex/ex_cmd.c b/contrib/nvi/ex/ex_cmd.c
index 8f7fc8d..8c9801d 100644
--- a/contrib/nvi/ex/ex_cmd.c
+++ b/contrib/nvi/ex/ex_cmd.c
@@ -302,6 +302,13 @@ EXCMDLIST const cmds[] = {
"!",
"rew[ind][!]",
"re-edit all the files in the file argument list"},
+#ifdef GTAGS
+/* C_RTAG */
+ {"rtag", ex_rtag_push, E_NEWSCREEN,
+ "!w1o",
+ "[Rr]ta[g][!] [string]",
+ "edit the file containing the tag"},
+#endif
/*
* !!!
* Adding new commands starting with 's' may break the substitute command code
OpenPOWER on IntegriCloud