diff options
| author | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
| commit | d5db40779d7505244d37476b4f046641f07eea2b (patch) | |
| tree | 5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/eval.c | |
| parent | 491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff) | |
| download | emacs-d5db40779d7505244d37476b4f046641f07eea2b.tar.gz emacs-d5db40779d7505244d37476b4f046641f07eea2b.zip | |
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eval.c b/src/eval.c index 4381901c896..3e3b3bd7d83 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -837,7 +837,7 @@ on its property list). */) | |||
| 837 | if (INTEGERP (documentation) && XINT (documentation) < 0) | 837 | if (INTEGERP (documentation) && XINT (documentation) < 0) |
| 838 | return Qt; | 838 | return Qt; |
| 839 | if (STRINGP (documentation) | 839 | if (STRINGP (documentation) |
| 840 | && ((unsigned char) XSTRING (documentation)->data[0] == '*')) | 840 | && ((unsigned char) SREF (documentation, 0) == '*')) |
| 841 | return Qt; | 841 | return Qt; |
| 842 | /* If it is (STRING . INTEGER), a negative integer means a user variable. */ | 842 | /* If it is (STRING . INTEGER), a negative integer means a user variable. */ |
| 843 | if (CONSP (documentation) | 843 | if (CONSP (documentation) |
| @@ -1554,7 +1554,7 @@ See also the function `condition-case'. */) | |||
| 1554 | data = Fcons (error_symbol, data); | 1554 | data = Fcons (error_symbol, data); |
| 1555 | 1555 | ||
| 1556 | string = Ferror_message_string (data); | 1556 | string = Ferror_message_string (data); |
| 1557 | fatal ("%s", XSTRING (string)->data, 0); | 1557 | fatal ("%s", SDATA (string), 0); |
| 1558 | } | 1558 | } |
| 1559 | 1559 | ||
| 1560 | /* Return nonzero iff LIST is a non-nil atom or | 1560 | /* Return nonzero iff LIST is a non-nil atom or |
| @@ -1920,7 +1920,7 @@ do_autoload (fundef, funname) | |||
| 1920 | of what files are preloaded and when. */ | 1920 | of what files are preloaded and when. */ |
| 1921 | if (! NILP (Vpurify_flag)) | 1921 | if (! NILP (Vpurify_flag)) |
| 1922 | error ("Attempt to autoload %s while preparing to dump", | 1922 | error ("Attempt to autoload %s while preparing to dump", |
| 1923 | XSTRING (SYMBOL_NAME (funname))->data); | 1923 | SDATA (SYMBOL_NAME (funname))); |
| 1924 | 1924 | ||
| 1925 | fun = funname; | 1925 | fun = funname; |
| 1926 | CHECK_SYMBOL (funname); | 1926 | CHECK_SYMBOL (funname); |
| @@ -1959,7 +1959,7 @@ do_autoload (fundef, funname) | |||
| 1959 | 1959 | ||
| 1960 | if (!NILP (Fequal (fun, fundef))) | 1960 | if (!NILP (Fequal (fun, fundef))) |
| 1961 | error ("Autoloading failed to define function %s", | 1961 | error ("Autoloading failed to define function %s", |
| 1962 | XSTRING (SYMBOL_NAME (funname))->data); | 1962 | SDATA (SYMBOL_NAME (funname))); |
| 1963 | UNGCPRO; | 1963 | UNGCPRO; |
| 1964 | } | 1964 | } |
| 1965 | 1965 | ||
| @@ -2938,7 +2938,7 @@ DEFUN ("fetch-bytecode", Ffetch_bytecode, Sfetch_bytecode, | |||
| 2938 | { | 2938 | { |
| 2939 | tem = AREF (object, COMPILED_BYTECODE); | 2939 | tem = AREF (object, COMPILED_BYTECODE); |
| 2940 | if (CONSP (tem) && STRINGP (XCAR (tem))) | 2940 | if (CONSP (tem) && STRINGP (XCAR (tem))) |
| 2941 | error ("Invalid byte code in %s", XSTRING (XCAR (tem))->data); | 2941 | error ("Invalid byte code in %s", SDATA (XCAR (tem))); |
| 2942 | else | 2942 | else |
| 2943 | error ("Invalid byte code"); | 2943 | error ("Invalid byte code"); |
| 2944 | } | 2944 | } |