mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
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.
This commit is contained in:
parent
845640538e
commit
97c4f84cbc
7 changed files with 25 additions and 9 deletions
|
|
@ -8767,7 +8767,7 @@ keeps the kill ring from growing too long. It looks like this:
|
|||
|
||||
The code checks whether the length of the kill ring is greater than
|
||||
the maximum permitted length. This is the value of
|
||||
@code{kill-ring-max} (which is 60, by default). If the length of the
|
||||
@code{kill-ring-max} (which is 120, by default). If the length of the
|
||||
kill ring is too long, then this code sets the last element of the
|
||||
kill ring to @code{nil}. It does this by using two functions,
|
||||
@code{nthcdr} and @code{setcdr}.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue