From: Glenn Morris Date: Wed, 16 Jun 2021 15:34:32 +0000 (-0700) Subject: * lisp/simple.el (save-interprogram-paste-before-kill): Fix type. X-Git-Tag: emacs-28.0.90~2101 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f4e919cb2fc81976346aacbef4126753c423724;p=emacs.git * lisp/simple.el (save-interprogram-paste-before-kill): Fix type. ; Would not "integer" be better than "number", in type and docs? --- diff --git a/lisp/simple.el b/lisp/simple.el index fdaeb6ac22d..71db7ffe5d1 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5047,8 +5047,9 @@ The value of this variable can also be a number, in which case the clipboard data is only saved to the `kill-ring' if it's shorter (in characters) than that number. Any other non-nil value will save the clipboard data unconditionally." - :type '(choice (const :tag "Always" t) - number) + :type '(choice (const nil) + number + (other :tag "Always" t)) :group 'killing :version "23.2")