summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-09-06 17:27:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-09-06 17:29:07 -0700
commit5d2ac7435de679559aae0ede1d8b6f1750c09e68 (patch)
tree8b4059b578a0a2d812b91dc242d507708c00fea2 /src/keyboard.h
parent644f77b517180c5f75a9eaac4d76b12a1f334ce6 (diff)
downloademacs-5d2ac7435de679559aae0ede1d8b6f1750c09e68.tar.gz
Use DEV_TTY more consistently
* src/conf_post.h (DEV_TTY): Move from here ... * src/keyboard.c, src/keyboard.h: ... to here, as it doesn’t need to be visible everywhere. Make it a constant. * src/keyboard.c (handle_interrupt, Fset_quit_char): * src/process.c (create_process): Prefer DEV_TTY to "/dev/tty".
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 387378750c8..a5ed5e10a98 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -496,6 +496,8 @@ extern void mark_kboards (void);
extern const char *const lispy_function_keys[];
#endif
+extern char const DEV_TTY[];
+
INLINE_HEADER_END
#endif /* EMACS_KEYBOARD_H */