diff options
author | K. Handa <handa@gnu.org> | 2017-10-08 11:56:06 +0900 |
---|---|---|
committer | K. Handa <handa@gnu.org> | 2017-10-08 11:56:06 +0900 |
commit | a9b72976deec9b266950865581a626ec8f7b74f4 (patch) | |
tree | 7b5fb778bad612133b54ea3a39aa8356b6bdbaf7 /etc | |
parent | 64baaff8c5f70b7d637ac37304c4377e955b3f09 (diff) | |
parent | c194fb61c638490e3510864fe2750814af8c3719 (diff) | |
download | emacs-a9b72976deec9b266950865581a626ec8f7b74f4.tar.gz |
Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into emacs-26
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 18 | ||||
-rw-r--r-- | etc/refcards/orgcard.tex | 2 |
2 files changed, 11 insertions, 9 deletions
@@ -1115,7 +1115,7 @@ See the 'vc-faces' customization group. *** 'vc-dir-mode' now binds 'vc-log-outgoing' to 'O'; and has various branch-related commands on a keymap bound to 'B'. ---- ++++ *** 'vc-region-history' is now bound to 'C-x v h', replacing the older 'vc-insert-headers' binding. @@ -1364,6 +1364,15 @@ non-nil, but the code returned the list in the increasing order of priority instead. Now the code does what the documentation says it should do. ++++ +** 'format' now avoids allocating a new string in more cases. +'format' was previously documented to return a newly-allocated string, +but this documentation was not correct, as (eq x (format x)) returned +t when x was the empty string. 'format' is no longer documented to +return a newly-allocated string, and the implementation now takes +advantage of the doc change to avoid making copies of strings in +common cases like (format "foo") and (format "%s" "foo"). + --- ** The function 'eldoc-message' now accepts a single argument. Programs that called it with multiple arguments before should pass @@ -1559,13 +1568,6 @@ Emacs integers with %e, %f, or %g conversions. For example, on these hosts (eql N (string-to-number (format "%.0f" N))) now returns t for all Emacs integers N. -+++ -** 'format' is no longer documented to return a newly-allocated string. -This documentation was not correct, as (eq x (format x)) returned t -when x was the empty string. 'format' now takes advantage of the doc -change to avoid making copies of strings in common cases like (format -"foo") and (format "%s" "foo"). - --- ** Calls that accept floating-point integers (for use on hosts with limited integer range) now signal an error if arguments are not diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index 0880841a945..99f90b8d31c 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex @@ -1,5 +1,5 @@ % Reference Card for Org Mode -\def\orgversionnumber{9.1.1} +\def\orgversionnumber{9.1.2} \def\versionyear{2017} % latest update \input emacsver.tex |