changeset 111383:fad6eee38123

* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 08 Nov 2010 10:45:49 -0500
parents 1aba3578b8d8
children 90d8fda00161
files etc/NEWS lisp/ChangeLog lisp/international/mule-cmds.el
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sun Nov 07 10:52:33 2010 -0500
+++ b/etc/NEWS	Mon Nov 08 10:45:49 2010 -0500
@@ -95,7 +95,7 @@
 ** `e' and `pi' are now called `float-e' and `float-pi'.
   The old names are obsolete.
 ** The use of unintern without an obarray arg is declared obsolete.
-
+** The function `princ-list' is declared obsolete.
 ** New function byte-to-string, like char-to-string but for bytes.
 
 
--- a/lisp/ChangeLog	Sun Nov 07 10:52:33 2010 -0500
+++ b/lisp/ChangeLog	Mon Nov 08 10:45:49 2010 -0500
@@ -1,3 +1,7 @@
+2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* international/mule-cmds.el (princ-list): Mark as obsolete.
+
 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* emacs-lisp/smie.el: New package.
--- a/lisp/international/mule-cmds.el	Sun Nov 07 10:52:33 2010 -0500
+++ b/lisp/international/mule-cmds.el	Mon Nov 08 10:45:49 2010 -0500
@@ -2034,10 +2034,11 @@
   "Do various unibyte-mode setups for language environment LANGUAGE-NAME."
   (set-display-table-and-terminal-coding-system language-name))
 
-(defsubst princ-list (&rest args)
+(defun princ-list (&rest args)
   "Print all arguments with `princ', then print \"\\n\"."
   (while args (princ (car args)) (setq args (cdr args)))
   (princ "\n"))
+(make-obsolete 'princ-list "use mapc and princ instead" "23.3")
 
 (put 'describe-specified-language-support 'apropos-inhibit t)