emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 1a6f595: * src/minibuf.c (read_minibuf): Add a


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 1a6f595: * src/minibuf.c (read_minibuf): Add a FIXME comment.
Date: Tue, 24 Apr 2018 21:39:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> +  /* Why does this code set print-escape-newlines?  No call to Fprin1
> +     or to Fprint is anywhere in sight.  FIXME: Either remove the next
> +     two lines of code along with this comment, or replace this
> +     comment with an explanation for why the two lines are needed.  */
>    Fmake_local_variable (Qprint_escape_newlines);
>    print_escape_newlines = 1;

My guess is that it's because the miniwindow is mostly single-line, so
"prints" usually work better with \n than with LF.  I expect that while
there might not be any prin1/print in sight nowadays that probably
hasn't always been the case.


        Stefan



reply via email to

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