aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-03-12 01:37:51 +0000
committerStefan Monnier2005-03-12 01:37:51 +0000
commitdac24db4045326a3237ec76130fda7579f16201b (patch)
treeb00fbd39460479cf399a000a9a81c78c8fbda9ae /src
parente0402468ef01235b33ea962645f4e785e4d9c49a (diff)
downloademacs-dac24db4045326a3237ec76130fda7579f16201b.tar.gz
emacs-dac24db4045326a3237ec76130fda7579f16201b.zip
(Fmake_symbolic_link): Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog28
-rw-r--r--src/fileio.c4
2 files changed, 16 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fa746e63b2d..34ca0bab302 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12005-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * fileio.c (Fmake_symbolic_link): Fix last change.
4
12005-03-11 Richard M. Stallman <rms@gnu.org> 52005-03-11 Richard M. Stallman <rms@gnu.org>
2 6
3 * fileio.c (Frename_file, Fadd_name_to_file) 7 * fileio.c (Frename_file, Fadd_name_to_file)
@@ -32,8 +36,7 @@
32 available font is found. 36 available font is found.
33 37
34 * fontset.c (set_default_ascii_font): New function. 38 * fontset.c (set_default_ascii_font): New function.
35 (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) 39 (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here.
36 here.
37 40
38 * fontset.h (set_default_ascii_font): Extern it. 41 * fontset.h (set_default_ascii_font): Extern it.
39 42
@@ -94,13 +97,11 @@
94 * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if 97 * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if
95 defined (MAC_OSX) && defined (HAVE_CARBON)'. 98 defined (MAC_OSX) && defined (HAVE_CARBON)'.
96 99
97 * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include 100 * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h.
98 QuickTime.h.
99 101
100 * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. 102 * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
101 [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. 103 [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent.
102 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New 104 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions.
103 functions.
104 (mac_clear_font_name_table): Move extern to macterm.h. 105 (mac_clear_font_name_table): Move extern to macterm.h.
105 106
106 * macfns.c (install_window_handler): Move extern to macterm.h. 107 * macfns.c (install_window_handler): Move extern to macterm.h.
@@ -108,16 +109,15 @@
108 valid. Don't check !NILP (dir) because it is already checked with 109 valid. Don't check !NILP (dir) because it is already checked with
109 CHECK_STRING. 110 CHECK_STRING.
110 (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for 111 (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for
111 specifying the default location and obtaining the selected 112 specifying the default location and obtaining the selected filename.
112 filename.
113 113
114 * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. 114 * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
115 115
116 * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that 116 * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that
117 are included via Carbon.h. 117 are included via Carbon.h.
118 118
119 * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: Define 119 * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]:
120 USE_CARBON_EVENTS to 1. 120 Define USE_CARBON_EVENTS to 1.
121 (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. 121 (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare.
122 (x_free_frame_resources): Call remove_window_handler for 122 (x_free_frame_resources): Call remove_window_handler for
123 non-tooltip windows. 123 non-tooltip windows.
@@ -130,12 +130,12 @@
130 (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for 130 (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for
131 drag-and-drop handler functions and register them. 131 drag-and-drop handler functions and register them.
132 (remove_window_handler): New function. 132 (remove_window_handler): New function.
133 (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: Use 133 (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]:
134 fsspec_to_posix_pathname. 134 Use fsspec_to_posix_pathname.
135 (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. 135 (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8.
136 (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. 136 (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM.
137 [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: Set 137 [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]:
138 default cursors. 138 Set default cursors.
139 (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call 139 (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call
140 init_service_handler or init_quit_char_handler. 140 init_service_handler or init_quit_char_handler.
141 (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. 141 (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess.
diff --git a/src/fileio.c b/src/fileio.c
index 879c3847558..db1ea660d97 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1,6 +1,6 @@
1/* File IO for GNU Emacs. 1/* File IO for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998, 2 Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. 3 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -2851,7 +2851,7 @@ This happens for interactive use with M-x. */)
2851 filename = Fexpand_file_name (filename, Qnil); 2851 filename = Fexpand_file_name (filename, Qnil);
2852 2852
2853 if (!NILP (Ffile_directory_p (linkname))) 2853 if (!NILP (Ffile_directory_p (linkname)))
2854 linkname = Fexpand_file_name (Ffile_name_nondirectory (file), linkname); 2854 linkname = Fexpand_file_name (Ffile_name_nondirectory (filename), linkname);
2855 else 2855 else
2856 linkname = Fexpand_file_name (linkname, Qnil); 2856 linkname = Fexpand_file_name (linkname, Qnil);
2857 2857