diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-10-04 04:32:50 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-10-04 04:32:50 +0000 |
commit | 4e2f601fbc30effe2a80c7c8eef94347c0b90be9 (patch) | |
tree | 97504448455ea915c01b3354850d7c6da0ba74d2 | |
parent | 6470ea05f949a6363561e8ac934e7b7a66498825 (diff) | |
download | emacs-4e2f601fbc30effe2a80c7c8eef94347c0b90be9.tar.gz emacs-4e2f601fbc30effe2a80c7c8eef94347c0b90be9.tar.bz2 emacs-4e2f601fbc30effe2a80c7c8eef94347c0b90be9.zip |
(re_char): Don't expose it in the interface.
(re_set_whitespace_regexp): Adjust the arg's type to not use it.
-rw-r--r-- | src/ChangeLog | 6 | ||||
-rw-r--r-- | src/regex.h | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d57a739d45a..85f6062407e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,11 @@ 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> + * regex.h (re_char): Don't expose it in the interface. + (re_set_whitespace_regexp): Adjust the arg's type to not use it. + + * regex.c (re_char): Move it back here. + (re_set_whitespace_regexp): Change the arg's type to not use it. + * keyboard.c (make_lispy_event): If point has moved between down and up event, make it a drag, not a click, to mirror what mouse-drag-region expects. diff --git a/src/regex.h b/src/regex.h index 45a9f6fff0d..da0ab3e78d1 100644 --- a/src/regex.h +++ b/src/regex.h @@ -608,10 +608,7 @@ extern re_wctype_t re_wctype (const unsigned char* str); typedef int re_wchar_t; -/* Type of source-pattern and string chars. */ -typedef const unsigned char re_char; - -extern void re_set_whitespace_regexp (re_char *regexp); +extern void re_set_whitespace_regexp (const char *regexp); #endif /* not WIDE_CHAR_SUPPORT */ |