emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Docstring of Fprin1_to_string.


From: Michaël Cadilhac
Subject: Docstring of Fprin1_to_string.
Date: Wed, 12 Apr 2006 15:24:51 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

  I think it should mention the fact that, as Fprin1, its behavior is
  modified by some vars ; in fact, I didn't expect
   (message "%s" (prin1-to-string MyVar)) to behave lique
   (prin1 MyVar t)

  Patch attached, if needed.

Index: src/ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ChangeLog,v
retrieving revision 1.5001
diff -b -c -w -r1.5001 ChangeLog
*** src/ChangeLog       12 Apr 2006 08:11:35 -0000      1.5001
--- src/ChangeLog       12 Apr 2006 13:14:38 -0000
***************
*** 1,3 ****
--- 1,9 ----
+ 2006-04-12  Michaël Cadilhac  <address@hidden> (tiny change)
+ 
+       * print.c (Fprin1_to_string): Mention in the `doc' that the
+       behavior is modified by `print-level' and `print-length'.
+       Taken from `Fprin1'.
+ 
  2006-04-12  YAMAMOTO Mitsuharu  <address@hidden>
  
        * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h.
Index: src/print.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/print.c,v
retrieving revision 1.221
diff -b -c -w -r1.221 print.c
*** src/print.c 25 Mar 2006 17:58:37 -0000      1.221
--- src/print.c 12 Apr 2006 13:14:38 -0000
***************
*** 759,765 ****
         doc: /* Return a string containing the printed representation of 
OBJECT.
  OBJECT can be any Lisp object.  This function outputs quoting characters
  when necessary to make output that `read' can handle, whenever possible,
! unless the optional second argument NOESCAPE is non-nil.
  
  OBJECT is any of the Lisp data types: a number, a string, a symbol,
  a list, a buffer, a window, a frame, etc.
--- 759,766 ----
         doc: /* Return a string containing the printed representation of 
OBJECT.
  OBJECT can be any Lisp object.  This function outputs quoting characters
  when necessary to make output that `read' can handle, whenever possible,
! unless the optional second argument NOESCAPE is non-nil. For complex objects,
! the behavior is controlled by `print-level' and `print-length', which see.
  
  OBJECT is any of the Lisp data types: a number, a string, a symbol,
  a list, a buffer, a window, a frame, etc.
  Thanks.

-- 
 |      Michaël `Micha' Cadilhac   |   Mieux vaut se taire                  |
 |         Epita/LRDE Promo 2007   |    Que de parler trop fort.            |
 | http://www.lrde.org/~cadilh_m   |            -- As de trèfle             |
 `--  -   JID: address@hidden --'                                   -  --'

Attachment: pgp0FtJ53m0Kq.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]