# HG changeset patch # User Thien-Thi Nguyen # Date 1148248277 0 # Node ID d0c27da524018c4a79a7cf895dc5c3a7aa07e11f # Parent dcceae2c0722ee792351af248c2f7b0b2760c5cb Add entry for ewoc change. diff -r dcceae2c0722 -r d0c27da52401 etc/NEWS --- a/etc/NEWS Sun May 21 21:23:17 2006 +0000 +++ b/etc/NEWS Sun May 21 21:51:17 2006 +0000 @@ -3565,6 +3565,25 @@ +++ ** The variable `memory-full' now remains t until there is no longer a shortage of memory. + +** The ewoc package no longer inserts a newline after each pretty-printed +entry and after the header and footer, to allow for multiple-entry ewocs to +display on a single line. + +To make pre-existing client code behave the same way as before, you must +arrange to insert a newline in three places: the pretty-printer function, +the header and the footer. It is anyway a good idea to specify a non-empty +footer so that markers after the ewoc's buffer text are properly updated. +For example: + +;; before +(defun PP (data) (insert (format "%S" data))) +(ewoc-create 'PP "start\n") + +;; now +(defun PP (data) (insert (format "%S\n" data))) +(ewoc-create 'PP "start\n\n" "\n") + * Lisp Changes in Emacs 22.1