From: Stefan Monnier Date: Tue, 4 Oct 2005 04:32:50 +0000 (+0000) Subject: (re_char): Don't expose it in the interface. X-Git-Tag: emacs-pretest-22.0.90~6835 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e2f601fbc30effe2a80c7c8eef94347c0b90be9;p=emacs.git (re_char): Don't expose it in the interface. (re_set_whitespace_regexp): Adjust the arg's type to not use it. --- 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 + * 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 */