aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTak Kunihiro2017-09-21 11:26:00 +0300
committerEli Zaretskii2017-09-21 11:26:00 +0300
commit31e1d9ef2f70937cd0f93f67399620201ded300b (patch)
tree4b956d0f55bf4df22f95f3ed6075c160c0ecf775 /etc
parent047f02f00f602b9aef63ae8938e12f3f0ab481eb (diff)
downloademacs-31e1d9ef2f70937cd0f93f67399620201ded300b.tar.gz
emacs-31e1d9ef2f70937cd0f93f67399620201ded300b.zip
Support setting region from secondary selection and vice versa
* lisp/mouse.el (secondary-selection-exist-p): New function to allow callers to tell existence of the secondary selection in current buffer. (secondary-selection-to-region): New function to set beginning and end of the region from those of the secondary selection. (secondary-selection-from-region): New function to set beginning and end of the secondary selection from those of the region. (Bug#27530) * etc/NEWS: Mention the new functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a685a9fbe92..280ab64f37c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1819,6 +1819,13 @@ can be replicated simply by setting 'comment-auto-fill-only-comments'.
1819** New pcase pattern 'rx' to match against a rx-style regular expression. 1819** New pcase pattern 'rx' to match against a rx-style regular expression.
1820For details, see the doc string of 'rx--pcase-macroexpander'. 1820For details, see the doc string of 'rx--pcase-macroexpander'.
1821 1821
1822---
1823** New functions to set region from secondary selection and vice versa.
1824The new functions 'secondary-selection-to-region' and
1825'secondary-selection-from-region' let you set the beginning and the
1826end of the region from those of the secondary selection and vise
1827versa.
1828
1822 1829
1823* Changes in Emacs 26.1 on Non-Free Operating Systems 1830* Changes in Emacs 26.1 on Non-Free Operating Systems
1824 1831