aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjave2014-12-31 18:25:30 +0100
committerjave2014-12-31 18:25:30 +0100
commitc26306b0237235dd414f49d4693192827c07acdb (patch)
tree255152c0b2914a2bdc02c91f4f7dfbe8e9898684 /src
parent1eb82c5dbecf3f95a41d9aed78dbcfa4c289b5ce (diff)
downloademacs-c26306b0237235dd414f49d4693192827c07acdb.tar.gz
emacs-c26306b0237235dd414f49d4693192827c07acdb.zip
reverting some spurious changes
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index d259aa466e3..d76c3aa8e05 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -982,27 +982,6 @@ document xscrollbar
982Print $ as a scrollbar pointer. 982Print $ as a scrollbar pointer.
983end 983end
984 984
985define xxwidget
986 if $argc == 1
987 xgetptr $arg0
988 else
989 xgetptr $
990 end
991 set $xw = (struct xwidget *) $ptr
992 print $xw
993 printf " Type: "
994 xprintsym $xw->type
995 echo \n
996 printf " Title: "
997 xgetptr $xw->title
998 set $title = (struct Lisp_String *) $ptr
999 xprintstr $title
1000 echo \n
1001end
1002document xxwidget
1003Print $ assuming it is a xwidget.
1004end
1005
1006define xpr 985define xpr
1007 xtype 986 xtype
1008 if $type == Lisp_Int0 || $type == Lisp_Int1 987 if $type == Lisp_Int0 || $type == Lisp_Int1
@@ -1072,9 +1051,6 @@ define xpr
1072 if $vec == PVEC_HASH_TABLE 1051 if $vec == PVEC_HASH_TABLE
1073 xhashtable 1052 xhashtable
1074 end 1053 end
1075 if $vec == PVEC_XWIDGET
1076 xxwidget
1077 end
1078 else 1054 else
1079 xvector 1055 xvector
1080 end 1056 end