]> git.eshelyaron.com Git - emacs.git/commitdiff
* data.c (do_blv_forwarding, do_symval_forwarding): Remove; unused.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 23:22:38 +0000 (16:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 23:22:38 +0000 (16:22 -0700)
src/ChangeLog
src/data.c

index db04fe30bcfc364b31e3f897a8999cbfa5d73d51..31b4ee92e26cfe970bf8ce88a1c17d617ea7f8d3 100644 (file)
@@ -9,6 +9,7 @@
        (store_symval_forwarding): Rename local to avoid shadowing.
        (Fmake_variable_buffer_local, Fmake_local_variable): Mark
        variables as initialized.
+       (do_blv_forwarding, do_symval_forwarding): Remove; unused.
 
        * alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST.
        (Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect):
index 6599d8fdfa37fbd7066b4dadc32f22db20661ab2..01aafbcede49a36d0f1450238eabb9a2ba83cffe 100644 (file)
@@ -818,9 +818,6 @@ variable chain of symbols.  */)
    This does not handle buffer-local variables; use
    swap_in_symval_forwarding for that.  */
 
-#define do_blv_forwarding(blv) \
-  ((blv)->forwarded ? do_symval_forwarding (BLV_FWD (blv)) : BLV_VALUE (blv))
-
 Lisp_Object
 do_symval_forwarding (register union Lisp_Fwd *valcontents)
 {
@@ -867,14 +864,6 @@ do_symval_forwarding (register union Lisp_Fwd *valcontents)
    BUF non-zero means set the value in buffer BUF instead of the
    current buffer.  This only plays a role for per-buffer variables.  */
 
-#define store_blv_forwarding(blv, newval, buf)                 \
-  do {                                                         \
-    if ((blv)->forwarded)                                      \
-      store_symval_forwarding (BLV_FWD (blv), (newval), (buf));        \
-    else                                                       \
-      SET_BLV_VALUE (blv, newval);                             \
-  } while (0)
-
 static void
 store_symval_forwarding (union Lisp_Fwd *valcontents, register Lisp_Object newval, struct buffer *buf)
 {