aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2007-01-20 15:33:34 +0000
committerEli Zaretskii2007-01-20 15:33:34 +0000
commit2d5ed88d3102acb7f290571900d5a6fc3cad824b (patch)
treea157432d76b7cfc616e1dc0b22a4daea919344ef /src
parentfa6661a8991db2843754b2c7bc226721a62a04f5 (diff)
downloademacs-2d5ed88d3102acb7f290571900d5a6fc3cad824b.tar.gz
emacs-2d5ed88d3102acb7f290571900d5a6fc3cad824b.zip
(ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
(xbuffer, xcons, xcar, xcdr): Fix doc strings.
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 7a96d3b9733..c41914ef442 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -158,7 +158,8 @@ define ppt
158 printf " SZ=%d\n", $t->gap_size 158 printf " SZ=%d\n", $t->gap_size
159end 159end
160document ppt 160document ppt
161Print point beg end narrow and gap for current buffer. 161Print current buffer's point and boundaries.
162Prints values of point, beg, end, narrow, and gap for current buffer.
162end 163end
163 164
164# Print out iterator given as first arg 165# Print out iterator given as first arg
@@ -520,7 +521,7 @@ define xtype
520 end 521 end
521end 522end
522document xtype 523document xtype
523Print the type of $ assuming it is an Emacs Lisp value. 524Print the type of $, assuming it is an Emacs Lisp value.
524If the first type printed is Lisp_Vector or Lisp_Misc, 525If the first type printed is Lisp_Vector or Lisp_Misc,
525a second line gives the more precise type. 526a second line gives the more precise type.
526end 527end
@@ -542,7 +543,7 @@ define xmisctype
542 echo \n 543 echo \n
543end 544end
544document xmisctype 545document xmisctype
545Print the specific type of $ assuming it is some misc type. 546Assume that $ is some misc type and print its specific type.
546end 547end
547 548
548define xint 549define xint
@@ -550,7 +551,7 @@ define xint
550 print $int 551 print $int
551end 552end
552document xint 553document xint
553Print $ assuming it is an Emacs Lisp integer. This gets the sign right. 554Print $ as an Emacs Lisp integer. This gets the sign right.
554end 555end
555 556
556define xptr 557define xptr
@@ -558,7 +559,7 @@ define xptr
558 print (void *) $ptr 559 print (void *) $ptr
559end 560end
560document xptr 561document xptr
561Print the pointer portion of $ assuming it is an Emacs Lisp value. 562Print the pointer portion of an Emacs Lisp value in $.
562end 563end
563 564
564define xmarker 565define xmarker
@@ -566,7 +567,8 @@ define xmarker
566 print (struct Lisp_Marker *) $ptr 567 print (struct Lisp_Marker *) $ptr
567end 568end
568document xmarker 569document xmarker
569Print $ as a marker pointer assuming it is an Emacs Lisp marker value. 570Print $ as a marker pointer.
571This command assumes that $ is an Emacs Lisp marker value.
570end 572end
571 573
572define xoverlay 574define xoverlay
@@ -695,7 +697,8 @@ define xframe
695 echo \n 697 echo \n
696end 698end
697document xframe 699document xframe
698Print $ as a frame pointer assuming it is an Emacs Lisp frame value. 700Print $ as a frame pointer.
701This command assumes $ is an Emacs Lisp frame value.
699end 702end
700 703
701define xcompiled 704define xcompiled
@@ -778,8 +781,8 @@ define xbuffer
778 echo \n 781 echo \n
779end 782end
780document xbuffer 783document xbuffer
781Set $ as a buffer pointer assuming it is an Emacs Lisp buffer value. 784Set $ as a buffer pointer and the name of the buffer.
782Print the name of the buffer. 785This command assumes $ is an Emacs Lisp buffer value.
783end 786end
784 787
785define xhashtable 788define xhashtable
@@ -798,7 +801,7 @@ define xcons
798 echo \n 801 echo \n
799end 802end
800document xcons 803document xcons
801Print the contents of $ assuming it is an Emacs Lisp cons. 804Print the contents of $ as an Emacs Lisp cons.
802end 805end
803 806
804define nextcons 807define nextcons
@@ -816,7 +819,7 @@ define xcar
816 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0) 819 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0)
817end 820end
818document xcar 821document xcar
819Print the car of $ assuming it is an Emacs Lisp pair. 822Assume that $ is an Emacs Lisp pair and print its car.
820end 823end
821 824
822define xcdr 825define xcdr
@@ -825,7 +828,7 @@ define xcdr
825 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0) 828 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0)
826end 829end
827document xcdr 830document xcdr
828Print the cdr of $ assuming it is an Emacs Lisp pair. 831Assume that $ is an Emacs Lisp pair and print its cdr.
829end 832end
830 833
831define xlist 834define xlist