* Docstring of Fprin1_to_string.
@ 2006-04-12 13:24 Michaël Cadilhac
0 siblings, 0 replies; only message in thread
From: Michaël Cadilhac @ 2006-04-12 13:24 UTC (permalink / raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 230 bytes --]
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.
[-- Attachment #1.1.2: print.patch --]
[-- Type: text/x-patch, Size: 1974 bytes --]
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 <michael.cadilhac@lrde.org> (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 <mituharu@math.s.chiba-u.ac.jp>
* 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.
[-- Attachment #1.1.3: Type: text/plain, Size: 336 bytes --]
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: micha@amessage.be --' - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-12 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 13:24 Docstring of Fprin1_to_string Michaël Cadilhac
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.