shithub: neatroff

Download patch

ref: 1273b6f5d6751de9325132d2a0f7c4cc05d1ccb6
parent: d9794d57f3a88cf530e8e2d3c28e1723ea51b90c
author: Ali Gholami Rudi <ali@rudi.ir>
date: Thu Mar 28 21:18:15 EDT 2013

ren: add \(.n

--- a/ren.c
+++ b/ren.c
@@ -96,6 +96,7 @@
 {
 	char cmd[32];
 	down(0);
+	n_n = w;
 	if (cdiv) {
 		if (cdiv->dl < w)
 			cdiv->dl = w;
--- a/xroff.h
+++ b/xroff.h
@@ -161,6 +161,7 @@
 #define n_i		(*nreg(REG('.', 'i')))
 #define n_j		(*nreg(REG('.', 'j')))
 #define n_l		(*nreg(REG('.', 'l')))
+#define n_n		(*nreg(REG('.', 'n')))
 #define n_o		(*nreg(REG('.', 'o')))
 #define n_p		(*nreg(REG('.', 'p')))
 #define n_s		(*nreg(REG('.', 's')))