]> git.eshelyaron.com Git - emacs.git/commitdiff
by renaming, get rid of need for hash_remove() redefinitions for NS platform; also...
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 19 Jul 2008 20:45:36 +0000 (20:45 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 19 Jul 2008 20:45:36 +0000 (20:45 +0000)
src/ChangeLog
src/fns.c
src/lisp.h
src/nsgui.h

index d395861dfa14f0e512808db3312be1cf35fa4b62..dd015342bc9b0aa7471f67aefc991d84fe250a08 100644 (file)
@@ -1,3 +1,11 @@
+2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns,
+       xterm, xselect.
+       * lisp.h: Remove declaration of hash_remove.
+       * nsgui.h: Remove redefinitions of hash_remove.
+       * fns.c (hash_remove): Rename to hash_remove_from_table.
+
 2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font):
index 72f1c93fd29a9e615933e6363f856758717bf70e..4614ba130cb68e93e6648350219b08264f78a465 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -4205,7 +4205,7 @@ hash_put (h, key, value, hash)
 /* Remove the entry matching KEY from hash table H, if there is one.  */
 
 static void
-hash_remove (h, key)
+hash_remove_from_table (h, key)
      struct Lisp_Hash_Table *h;
      Lisp_Object key;
 {
@@ -4866,7 +4866,7 @@ DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0,
      Lisp_Object key, table;
 {
   struct Lisp_Hash_Table *h = check_hash_table (table);
-  hash_remove (h, key);
+  hash_remove_from_table (h, key);
   return Qnil;
 }
 
index 58fef2efff00bba0f1dc8cad05296e09b0a9e882..340a0352b6da53ad966d93fdcdc626581c73bdac 100644 (file)
@@ -28,11 +28,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define P_(proto) ()
 #endif
 
-#ifdef NS_IMPL_GNUSTEP
-/* This conflicts with functions in the GNUstep libraries. */
-#define hash_remove emacs_hash_remove
-#endif  /* NS_IMPL_GNUSTEP */
-
 #if 0
 /* Define this temporarily to hunt a bug.  If defined, the size of
    strings is redundantly recorded in sdata structures so that it can
index 90dbef6a06a087113ddf5c7bb1d7109f4fa8f6d5..91b2956bf3f2c2e8885a70d389d7b81e05fe3b20 100644 (file)
@@ -30,16 +30,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #undef init_process
 #endif  /* NS_IMPL_COCOA */
 
-#ifdef NS_IMPL_GNUSTEP
-#undef hash_remove
-#endif
-
 #import <AppKit/AppKit.h>
 
-#ifdef NS_IMPL_GNUSTEP
-#define hash_remove emacs_hash_remove
-#endif
-
 #ifdef NS_IMPL_COCOA
 #undef Cursor
 #define init_process emacs_init_process