1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix the NS build due to introduction of B_.

nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
This commit is contained in:
Eli Zaretskii 2011-02-15 05:57:00 +02:00
parent 75b43359dd
commit 8017fd6b81
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2011-02-15 Eli Zaretskii <eliz@gnu.org>
* nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
2011-02-14 Michael Welsh Duggan <md5i@md5i.com>
* print.c (float_to_string): Ensure that a decimal point is

View file

@ -605,8 +605,8 @@ ns_set_name_as_filename (struct frame *f)
BLOCK_INPUT;
pool = [[NSAutoreleasePool alloc] init];
filename = XBUFFER (buf)->filename;
name = XBUFFER (buf)->name;
filename = B_ (XBUFFER (buf), filename);
name = B_ (XBUFFER (buf), name);
if (NILP (name))
{
@ -1428,7 +1428,7 @@ Optional arg INIT, if non-nil, provides a default file name to use. */)
NSString *promptS = NILP (prompt) || !STRINGP (prompt) ? nil :
[NSString stringWithUTF8String: SDATA (prompt)];
NSString *dirS = NILP (dir) || !STRINGP (dir) ?
[NSString stringWithUTF8String: SDATA (current_buffer->directory)] :
[NSString stringWithUTF8String: SDATA (B_ (current_buffer, directory))] :
[NSString stringWithUTF8String: SDATA (dir)];
NSString *initS = NILP (init) || !STRINGP (init) ? nil :
[NSString stringWithUTF8String: SDATA (init)];