summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-09-10 17:41:48 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-09-10 17:41:48 -0700
commit6612f0bffdb752b729a2245bc8beeff1bf6858e3 (patch)
tree140acfb7c4808698a86f160ae6b5e3458160bde5 /src/lisp.h
parente21bac426b787ac0f03c3a64341ec98995ea8262 (diff)
downloademacs-6612f0bffdb752b729a2245bc8beeff1bf6858e3.tar.gz
* keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls
here ... * lisp.h: ... from here. push_key_description is no longer defined in keyboard.c, so its declaration should not be in lisp.h's "Defined in keyboard.c" section, and KEY_DESCRIPTION_SIZE logically belongs with push_key_description.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 1f297d51596..e9a525a32b5 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1599,16 +1599,6 @@ typedef unsigned char UCHAR;
itself. */
#define CHARACTERBITS 22
-/* The maximum byte size consumed by push_key_description.
- All callers should assure that at least this size of memory is
- allocated at the place pointed by the second argument.
-
- There are 6 modifiers, each consumes 2 chars.
- The octal form of a character code consumes
- (1 + CHARACTERBITS / 3 + 1) chars (including backslash at the head).
- We need one more byte for string terminator `\0'. */
-#define KEY_DESCRIPTION_SIZE ((2 * 6) + 1 + (CHARACTERBITS / 3) + 1 + 1)
-
/* The glyph datatype, used to represent characters on the display.
It consists of a char code and a face id. */
@@ -3258,8 +3248,6 @@ extern void force_auto_save_soon (void);
extern void init_keyboard (void);
extern void syms_of_keyboard (void);
extern void keys_of_keyboard (void);
-extern char *push_key_description (EMACS_INT, char *, int);
-
/* Defined in indent.c */
EXFUN (Fvertical_motion, 2);