summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-03-18 10:18:30 +0000
committerRichard M. Stallman <rms@gnu.org>1993-03-18 10:18:30 +0000
commitf7cf3ec62d440e7ec30a035ca2dd5748d3330b52 (patch)
treefceae1a190ccaa23576072b1db8ae1708716e426
parent861a50c615647c2c5de6b2c29517d3e1c29244c3 (diff)
downloademacs-f7cf3ec62d440e7ec30a035ca2dd5748d3330b52.tar.gz
Fix spacing conventions.
-rw-r--r--src/term.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/term.c b/src/term.c
index 8c824294134..ffc8f83c886 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1287,9 +1287,9 @@ term_get_fkeys (address)
else
fcap[1] = 'a' + i - 11;
- if (tgetstr(fcap, address))
+ if (tgetstr (fcap, address))
{
- (void) sprintf(fkey, "f%d", i);
+ (void) sprintf (fkey, "f%d", i);
Fdefine_key (Vfunction_key_map,
build_string (fcap),
Fmake_vector (make_number (1), intern (fkey)));
@@ -1301,18 +1301,18 @@ term_get_fkeys (address)
* Various mappings to try and get a better fit.
*/
{
-#define CONDITIONAL_REASSIGN(cap1, cap2, sym) \
- if (!tgetstr(cap1, address) && tgetstr(cap2, address)) \
- Fdefine_key (Vfunction_key_map, \
- build_string (cap2), \
- Fmake_vector (make_number (1), intern (sym)))
+#define CONDITIONAL_REASSIGN(cap1, cap2, sym) \
+ if (!tgetstr (cap1, address) && tgetstr (cap2, address)) \
+ Fdefine_key (Vfunction_key_map, \
+ build_string (cap2), \
+ Fmake_vector (make_number (1), intern (sym)))
/* if there's no key_next keycap, map key_npage to `next' keysym */
- CONDITIONAL_REASSIGN("%5", "kN", "next");
+ CONDITIONAL_REASSIGN ("%5", "kN", "next");
/* if there's no key_prev keycap, map key_ppage to `previous' keysym */
- CONDITIONAL_REASSIGN("%8", "kP", "previous");
+ CONDITIONAL_REASSIGN ("%8", "kP", "previous");
/* if there's no key_dc keycap, map key_ic to `insert' keysym */
- CONDITIONAL_REASSIGN("kD", "kI", "insert");
+ CONDITIONAL_REASSIGN ("kD", "kI", "insert");
#undef CONDITIONAL_REASSIGN
}
}