summaryrefslogtreecommitdiff
path: root/usr.bin/mg/version.c
blob: 0f3a9e7562ff2c8d932e2af0744bc381914912a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * This file contains the string that get written
 * out by the emacs-version command.
 */

#define TRUE	1	/* include "def.h" when things get more complicated */

char version[] = "Mg 2a (formerly MicroGnuEmacs)";

/*
 * Display the version. All this does
 * is copy the version string onto the echo line.
 */
/*ARGSUSED*/
showversion(f, n)
int f, n;
{
	ewprintf(version);
	return TRUE;
}