aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris2018-05-01 07:50:48 -0700
committerGlenn Morris2018-05-01 07:50:48 -0700
commit62032f699a4969ffacd9b8ea9dccd3ce6b10051f (patch)
tree357983c747ff7af985339027113adbc942f0edcd /doc/lispref
parentb3b4697ff8b9093cef2cc3842dab731f37c9e2e1 (diff)
parent71be806d01c4e135f067bc842a9d684e594b4f35 (diff)
downloademacs-62032f699a4969ffacd9b8ea9dccd3ce6b10051f.tar.gz
emacs-62032f699a4969ffacd9b8ea9dccd3ce6b10051f.zip
Merge from origin/emacs-26
71be806 ; * etc/DEBUG: Minor clarification. 4403f89 Update the Emacs FAQ 40b3317 * etc/DEBUG: Minor copyedits. 850ff18 Clarify wording of NS drag n drop documentation 343d70b1 Improve kill-related documentation (bug#31209) 0b43224 * lisp/simple.el (region-extract-function): Don't hide the 'n... d6e2c59 Fix pre- and post-command-hook errors in term.el 6cf83131e * doc/lispref/display.texi (Glyphless Chars): Fix grammar. 88d178c Fix macOS drag n drop event documentation
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/display.texi4
-rw-r--r--doc/lispref/text.texi14
2 files changed, 11 insertions, 7 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 02dc830e0ab..13a25af02c8 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -7235,8 +7235,8 @@ Characters of Unicode General Category [Cf], such as @samp{U+200E}
7235images, such as @samp{U+00AD} (Soft Hyphen). 7235images, such as @samp{U+00AD} (Soft Hyphen).
7236 7236
7237@item no-font 7237@item no-font
7238Characters for there is no suitable font, or which cannot be encoded 7238Characters for which there is no suitable font, or which cannot be
7239by the terminal's coding system. 7239encoded by the terminal's coding system.
7240@end table 7240@end table
7241 7241
7242@c FIXME: this can also be 'acronym', but that's not currently 7242@c FIXME: this can also be 'acronym', but that's not currently
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 8cb6cf6242a..da09b4ae1c6 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1143,7 +1143,7 @@ If @var{n} is zero, indicating a request for the latest kill,
1143@code{current-kill} calls the value of 1143@code{current-kill} calls the value of
1144@code{interprogram-paste-function} (documented below) before 1144@code{interprogram-paste-function} (documented below) before
1145consulting the kill ring. If that value is a function and calling it 1145consulting the kill ring. If that value is a function and calling it
1146returns a string or a list of several string, @code{current-kill} 1146returns a string or a list of several strings, @code{current-kill}
1147pushes the strings onto the kill ring and returns the first string. 1147pushes the strings onto the kill ring and returns the first string.
1148It also sets the yanking pointer to point to the kill-ring entry of 1148It also sets the yanking pointer to point to the kill-ring entry of
1149the first string returned by @code{interprogram-paste-function}, 1149the first string returned by @code{interprogram-paste-function},
@@ -1156,8 +1156,10 @@ move the yanking pointer.
1156@defun kill-new string &optional replace 1156@defun kill-new string &optional replace
1157This function pushes the text @var{string} onto the kill ring and 1157This function pushes the text @var{string} onto the kill ring and
1158makes the yanking pointer point to it. It discards the oldest entry 1158makes the yanking pointer point to it. It discards the oldest entry
1159if appropriate. It also invokes the value of 1159if appropriate. It also invokes the values of
1160@code{interprogram-cut-function} (see below). 1160@code{interprogram-paste-function} (subject to
1161the user option @code{save-interprogram-paste-before-kill})
1162and @code{interprogram-cut-function} (see below).
1161 1163
1162If @var{replace} is non-@code{nil}, then @code{kill-new} replaces the 1164If @var{replace} is non-@code{nil}, then @code{kill-new} replaces the
1163first element of the kill ring with @var{string}, rather than pushing 1165first element of the kill ring with @var{string}, rather than pushing
@@ -1169,8 +1171,10 @@ This function appends the text @var{string} to the first entry in the
1169kill ring and makes the yanking pointer point to the combined entry. 1171kill ring and makes the yanking pointer point to the combined entry.
1170Normally @var{string} goes at the end of the entry, but if 1172Normally @var{string} goes at the end of the entry, but if
1171@var{before-p} is non-@code{nil}, it goes at the beginning. This 1173@var{before-p} is non-@code{nil}, it goes at the beginning. This
1172function also invokes the value of @code{interprogram-cut-function} 1174function calls @code{kill-new} as a subroutine, thus causing the
1173(see below). 1175values of @code{interprogram-cut-function} and possibly
1176@code{interprogram-paste-function} (see below) to be invoked by
1177extension.
1174@end defun 1178@end defun
1175 1179
1176@defvar interprogram-paste-function 1180@defvar interprogram-paste-function