diff options
| author | Dmitry Antipov | 2014-07-08 11:17:04 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-08 11:17:04 +0400 |
| commit | f298de5264c86bbb76ccec727779dabe16e6b9c3 (patch) | |
| tree | 05c709251b6982c042f04498510111e0fa03b82e /src/lisp.h | |
| parent | 12dc5429352223f7ba8314d2e16177036a762733 (diff) | |
| download | emacs-f298de5264c86bbb76ccec727779dabe16e6b9c3.tar.gz emacs-f298de5264c86bbb76ccec727779dabe16e6b9c3.zip | |
* chartab.c (char_table_translate): Move to...
* character.h (char_table_translate): ... inline function here.
Avoid Faref and assume that args are always valid. This helps to
speedup search, which is especially important for a huge buffers.
* lisp.h (char_table_translate): Remove prototype.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 6af390604d6..1c5bb14aafe 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -823,7 +823,6 @@ INLINE struct Lisp_Save_Value *XSAVE_VALUE (Lisp_Object); | |||
| 823 | /* Defined in chartab.c. */ | 823 | /* Defined in chartab.c. */ |
| 824 | extern Lisp_Object char_table_ref (Lisp_Object, int); | 824 | extern Lisp_Object char_table_ref (Lisp_Object, int); |
| 825 | extern void char_table_set (Lisp_Object, int, Lisp_Object); | 825 | extern void char_table_set (Lisp_Object, int, Lisp_Object); |
| 826 | extern int char_table_translate (Lisp_Object, int); | ||
| 827 | 826 | ||
| 828 | /* Defined in data.c. */ | 827 | /* Defined in data.c. */ |
| 829 | extern Lisp_Object Qarrayp, Qbufferp, Qbuffer_or_string_p, Qchar_table_p; | 828 | extern Lisp_Object Qarrayp, Qbufferp, Qbuffer_or_string_p, Qchar_table_p; |