mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Readline history preserves newlines
* guile-readline/ice-9/readline.scm (make-readline-port): Preserve newlines. This preserves the semantics of history entries that contain until-end-of-line comments using `;'.
This commit is contained in:
parent
0ece4850c5
commit
b27ad2f394
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
;;;; readline.scm --- support functions for command-line editing
|
||||
;;;;
|
||||
;;;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2006, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2006, 2009, 2010, 2011, 2014 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This program is free software; you can redistribute it and/or modify
|
||||
;;;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -105,7 +105,7 @@
|
|||
(set! history-buffer
|
||||
(if history-buffer
|
||||
(string-append history-buffer
|
||||
" "
|
||||
"\n"
|
||||
str)
|
||||
str)))
|
||||
str)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue