From 20ecc5266e1ffb1cff3e31475631b5c76b99e997 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 15 Sep 2018 11:07:16 +0300 Subject: [PATCH] ; * etc/NEWS: Document recent change in 'thing-at-point'. --- etc/NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index a54ac2db430..3a949a9805c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -131,6 +131,17 @@ depending on the new customizable variable 'read-answer-short'. ** New function 'assoc-delete-all'. Like 'assq-delete-all', but uses 'equal' for comparison. +--- +** The function 'thing-at-point' behaves as before Emacs 26.1. +The behavior of 'thing-at-point' when called with argument 'list' has +changed in Emacs 26.1, in that it didn't consider text inside comments +and strings as a potential list. This change is now reverted, and +'thing-at-point' behaves like it did before Emacs 26.1. + +To cater to use cases where comments and strings are to be ignored +when looking for a list, the function 'list-at-point' now takes an +optional argument to do so. + * Changes in Emacs 26.2 on Non-Free Operating Systems -- 2.39.2