* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
+2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * NEWS: Add sections for Emacs-23.3.
+
2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released.
2010-03-15 Francesc Rocher <rocher@member.fsf.org>
- * MORE.STUFF: Remove CEDET entry, now distributed as part of
- Emacs.
+ * MORE.STUFF: Remove CEDET entry, now distributed as part of Emacs.
2010-03-06 Glenn Morris <rgm@gnu.org>
You can narrow news to a specific version by calling `view-emacs-news'
with a prefix argument or by typing C-u C-h C-n.
+\f
+* Installation Changes in Emacs 23.3
+
+* Startup Changes in Emacs 23.3
+
+* Changes in Emacs 23.3
+
+\f
+* Editing Changes in Emacs 23.3
+
+\f
+* Changes in Specialized Modes and Packages in Emacs 23.3
+
+\f
+* New Modes and Packages in Emacs 23.3
+
+\f
+* Incompatible Lisp Changes in Emacs 23.3
+
+\f
+* Lisp changes in Emacs 23.3
+
+** New function byte-to-string, like char-to-string but for bytes.
+
+\f
+* Changes in Emacs 23.3 on non-free operating systems
+
\f
* Installation Changes in Emacs 23.2
+2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
+
2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released.
tmp (substring str 0 start)
(cond
(allow-newlines
- (char-to-string code))
+ (byte-to-string code))
((or (= code ?\n) (= code ?\r))
" ")
- (t (char-to-string code))))
+ (t (byte-to-string code))))
str (substring str (match-end 0)))))
(setq tmp (concat tmp str))
tmp))
+2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * editfns.c (Fbyte_to_string): New function.
+
2010-05-18 Chong Yidong <cyd@stupidchicken.com>
* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
return make_string_from_bytes (str, 1, len);
}
+DEFUN ("byte-to-string", Fbyte_to_string, Sbyte_to_string, 1, 1, 0,
+ doc: /* Convert arg BYTE to a string containing that byte. */)
+ (byte)
+ Lisp_Object byte;
+{
+ CHECK_NUMBER (byte);
+ unsigned char b = XINT (byte);
+ return make_string_from_bytes (&b, 1, 1);
+}
+
DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0,
doc: /* Convert arg STRING to a character, the first character of that string.
A multibyte character is handled correctly. */)
defsubr (&Sgoto_char);
defsubr (&Sstring_to_char);
defsubr (&Schar_to_string);
+ defsubr (&Sbyte_to_string);
defsubr (&Sbuffer_substring);
defsubr (&Sbuffer_substring_no_properties);
defsubr (&Sbuffer_string);