Mercurial > emacs
comparison src/lisp.h @ 83632:cc587bfd19ca
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 781-792)
- Update from CVS
- Merge from gnus--rel--5.10
- Merge from emacs--rel--22
* emacs--rel--22 (patch 33-41)
* gnus--rel--5.10 (patch 226-228)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-21
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 11 Jun 2007 01:00:07 +0000 |
parents | 0a3247aa24a4 5e310b8be81d |
children | 0ece58f6e0aa |
comparison
equal
deleted
inserted
replaced
83631:7d63b897231b | 83632:cc587bfd19ca |
---|---|
699 ((STR)->size_byte < 0 ? (STR)->size : (STR)->size_byte) | 699 ((STR)->size_byte < 0 ? (STR)->size : (STR)->size_byte) |
700 | 700 |
701 #endif /* not GC_CHECK_STRING_BYTES */ | 701 #endif /* not GC_CHECK_STRING_BYTES */ |
702 | 702 |
703 /* Mark STR as a unibyte string. */ | 703 /* Mark STR as a unibyte string. */ |
704 #define STRING_SET_UNIBYTE(STR) (XSTRING (STR)->size_byte = -1) | 704 #define STRING_SET_UNIBYTE(STR) \ |
705 do { if (EQ (STR, empty_multibyte_string)) \ | |
706 (STR) = empty_unibyte_string; \ | |
707 else XSTRING (STR)->size_byte = -1; } while (0) | |
705 | 708 |
706 /* Get text properties. */ | 709 /* Get text properties. */ |
707 #define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0) | 710 #define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0) |
708 | 711 |
709 /* Set text properties. */ | 712 /* Set text properties. */ |
3063 extern void syms_of_frame P_ ((void)); | 3066 extern void syms_of_frame P_ ((void)); |
3064 | 3067 |
3065 /* defined in emacs.c */ | 3068 /* defined in emacs.c */ |
3066 extern Lisp_Object decode_env_path P_ ((char *, char *)); | 3069 extern Lisp_Object decode_env_path P_ ((char *, char *)); |
3067 extern Lisp_Object Vinvocation_name, Vinvocation_directory; | 3070 extern Lisp_Object Vinvocation_name, Vinvocation_directory; |
3068 extern Lisp_Object Vinstallation_directory, empty_string; | 3071 extern Lisp_Object Vinstallation_directory; |
3072 extern Lisp_Object empty_unibyte_string, empty_multibyte_string; | |
3069 EXFUN (Fkill_emacs, 1); | 3073 EXFUN (Fkill_emacs, 1); |
3070 #if HAVE_SETLOCALE | 3074 #if HAVE_SETLOCALE |
3071 void fixup_locale P_ ((void)); | 3075 void fixup_locale P_ ((void)); |
3072 void synchronize_system_messages_locale P_ ((void)); | 3076 void synchronize_system_messages_locale P_ ((void)); |
3073 void synchronize_system_time_locale P_ ((void)); | 3077 void synchronize_system_time_locale P_ ((void)); |