diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/fns.c | 4 | ||||
| -rw-r--r-- | src/lisp.h | 5 | ||||
| -rw-r--r-- | src/nsgui.h | 8 |
4 files changed, 10 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d395861dfa1..dd015342bc9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | 1 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2 | 2 | ||
| 3 | * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns, | ||
| 4 | xterm, xselect. | ||
| 5 | * lisp.h: Remove declaration of hash_remove. | ||
| 6 | * nsgui.h: Remove redefinitions of hash_remove. | ||
| 7 | * fns.c (hash_remove): Rename to hash_remove_from_table. | ||
| 8 | |||
| 9 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 10 | |||
| 3 | * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font): | 11 | * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font): |
| 4 | strdup() the family UTF8String before modifying it. Patch due to | 12 | strdup() the family UTF8String before modifying it. Patch due to |
| 5 | Seiji Zenitani. | 13 | Seiji Zenitani. |
| @@ -4205,7 +4205,7 @@ hash_put (h, key, value, hash) | |||
| 4205 | /* Remove the entry matching KEY from hash table H, if there is one. */ | 4205 | /* Remove the entry matching KEY from hash table H, if there is one. */ |
| 4206 | 4206 | ||
| 4207 | static void | 4207 | static void |
| 4208 | hash_remove (h, key) | 4208 | hash_remove_from_table (h, key) |
| 4209 | struct Lisp_Hash_Table *h; | 4209 | struct Lisp_Hash_Table *h; |
| 4210 | Lisp_Object key; | 4210 | Lisp_Object key; |
| 4211 | { | 4211 | { |
| @@ -4866,7 +4866,7 @@ DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0, | |||
| 4866 | Lisp_Object key, table; | 4866 | Lisp_Object key, table; |
| 4867 | { | 4867 | { |
| 4868 | struct Lisp_Hash_Table *h = check_hash_table (table); | 4868 | struct Lisp_Hash_Table *h = check_hash_table (table); |
| 4869 | hash_remove (h, key); | 4869 | hash_remove_from_table (h, key); |
| 4870 | return Qnil; | 4870 | return Qnil; |
| 4871 | } | 4871 | } |
| 4872 | 4872 | ||
diff --git a/src/lisp.h b/src/lisp.h index 58fef2efff0..340a0352b6d 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -28,11 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | #define P_(proto) () | 28 | #define P_(proto) () |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | #ifdef NS_IMPL_GNUSTEP | ||
| 32 | /* This conflicts with functions in the GNUstep libraries. */ | ||
| 33 | #define hash_remove emacs_hash_remove | ||
| 34 | #endif /* NS_IMPL_GNUSTEP */ | ||
| 35 | |||
| 36 | #if 0 | 31 | #if 0 |
| 37 | /* Define this temporarily to hunt a bug. If defined, the size of | 32 | /* Define this temporarily to hunt a bug. If defined, the size of |
| 38 | strings is redundantly recorded in sdata structures so that it can | 33 | strings is redundantly recorded in sdata structures so that it can |
diff --git a/src/nsgui.h b/src/nsgui.h index 90dbef6a06a..91b2956bf3f 100644 --- a/src/nsgui.h +++ b/src/nsgui.h | |||
| @@ -30,16 +30,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | #undef init_process | 30 | #undef init_process |
| 31 | #endif /* NS_IMPL_COCOA */ | 31 | #endif /* NS_IMPL_COCOA */ |
| 32 | 32 | ||
| 33 | #ifdef NS_IMPL_GNUSTEP | ||
| 34 | #undef hash_remove | ||
| 35 | #endif | ||
| 36 | |||
| 37 | #import <AppKit/AppKit.h> | 33 | #import <AppKit/AppKit.h> |
| 38 | 34 | ||
| 39 | #ifdef NS_IMPL_GNUSTEP | ||
| 40 | #define hash_remove emacs_hash_remove | ||
| 41 | #endif | ||
| 42 | |||
| 43 | #ifdef NS_IMPL_COCOA | 35 | #ifdef NS_IMPL_COCOA |
| 44 | #undef Cursor | 36 | #undef Cursor |
| 45 | #define init_process emacs_init_process | 37 | #define init_process emacs_init_process |