aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispintro
diff options
context:
space:
mode:
authorStefan Kangas2021-10-12 18:23:46 +0200
committerStefan Kangas2021-10-14 00:23:34 +0200
commit97c4f84cbce4fef3dddebdae29df590bbb7fd516 (patch)
tree28a6ba3e0a235e937197690aa36282793c1eb99c /doc/lispintro
parent845640538ecec167bbda8abeb98fcee70d68fd0a (diff)
downloademacs-97c4f84cbce4fef3dddebdae29df590bbb7fd516.tar.gz
emacs-97c4f84cbce4fef3dddebdae29df590bbb7fd516.zip
Double the default value of kill-ring-max
* lisp/simple.el (kill-ring-max): Double the default to 120. * lisp/menu-bar.el (yank-menu-length): Doc fix. (yank-menu-max-items): New variable. (menu-bar-update-yank-menu): Don't display more than 'yank-menu-max-items' in the yank menu. * doc/emacs/custom.texi (Changing a Variable): * doc/emacs/killing.texi (Kill Ring): * doc/lispintro/emacs-lisp-intro.texi (kill-new function): * doc/lispref/text.texi (Internals of Kill Ring): Doc fix to use the new value.
Diffstat (limited to 'doc/lispintro')
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 6ecd552ebb0..81ae2536339 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -8767,7 +8767,7 @@ keeps the kill ring from growing too long. It looks like this:
8767 8767
8768The code checks whether the length of the kill ring is greater than 8768The code checks whether the length of the kill ring is greater than
8769the maximum permitted length. This is the value of 8769the maximum permitted length. This is the value of
8770@code{kill-ring-max} (which is 60, by default). If the length of the 8770@code{kill-ring-max} (which is 120, by default). If the length of the
8771kill ring is too long, then this code sets the last element of the 8771kill ring is too long, then this code sets the last element of the
8772kill ring to @code{nil}. It does this by using two functions, 8772kill ring to @code{nil}. It does this by using two functions,
8773@code{nthcdr} and @code{setcdr}. 8773@code{nthcdr} and @code{setcdr}.