1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
emacs/test/lisp
Basil L. Contovounesios f2c74543ed Fix off-by-one history pruning (bug#31211)
* lisp/subr.el (add-to-history): Clarify docstring.
Protect against negative history-length and unnecessary variable
modification, as per read_minibuf.

* lisp/ido.el (ido-record-command):
* lisp/international/mule-cmds.el (deactivate-input-method):
(set-language-environment-input-method):
* lisp/isearch.el (isearch-done):
* lisp/minibuffer.el (read-file-name-default):
* lisp/net/eww.el (eww-save-history):
* lisp/simple.el (edit-and-eval-command, repeat-complex-command):
(command-execute, kill-new, push-mark):
* src/callint.c (Fcall_interactively):
* src/minibuf.c (read_minibuf): Delegate to add-to-history.

* test/lisp/simple-tests.el (command-execute-prune-command-history):
* test/src/callint-tests.el
(call-interactively-prune-command-history): New tests.
2018-05-02 20:18:07 -04:00
..
calc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar Update copyright year to 2018 2018-01-01 00:57:59 -08:00
emacs-lisp Fix cl-print for circular sublists (Bug#31146) 2018-04-26 07:37:48 -04:00
emulation Update copyright year to 2018 2018-01-01 00:57:59 -08:00
erc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eshell Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
gnus Remove repetitions from recipient addresses in Message 2018-04-12 14:59:41 +02:00
international * test/lisp/international/mule-tests.el: 2018-03-09 14:05:36 -05:00
mail Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net Fix some edge cases of tramp-smb 2018-05-02 12:31:51 +02:00
org Recognize Org as builtin package (bug#30310) 2018-02-02 21:09:09 -05:00
progmodes Support variable-unquoting syntax in bat-mode 2018-03-15 15:23:01 +02:00
textmodes Handle quotation marks and apostrophes in ‘sgml-quote’ 2018-04-07 11:16:12 +01:00
url Rewrite `url-domain' to avoid network traffic 2018-05-01 14:26:38 +02:00
vc * test/lisp/vc/vc-tests.el (w32-application-type): Fix declaration. 2018-03-09 16:36:50 -05:00
abbrev-tests.el Preserve special abbrev properties when writing 2018-02-17 08:47:20 -05:00
arc-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
auth-source-pass-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
auth-source-tests.el Fix Bug#30246 2018-04-13 15:21:24 +02:00
autorevert-tests.el Use file notification in autorevert also for recreated files 2018-01-20 16:26:02 +01:00
buff-menu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
char-fold-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
color-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
comint-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dabbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
descr-text-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired-aux-tests.el Honor dired-create-destination-dirs if copying/renaming >1 files 2018-04-05 12:15:54 +09:00
dired-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
dired-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dom-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
electric-tests.el Ignore escape characters for context-sensitive quotes (Bug#29812) 2018-01-07 13:52:59 +01:00
epg-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
faces-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ffap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
filenotify-tests.el * lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206) 2018-04-28 23:20:33 +03:00
files-tests.el Test notify handlers only if file notification 2018-03-28 16:33:05 -07:00
files-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
help-fns-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
hi-lock-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ido-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imenu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
info-xref-tests.el ; * test/lisp/info-xref-tests.el: Remove stray line from previous. 2018-03-19 17:08:46 -04:00
isearch-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
jit-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Pass json-readtable-error data as a list (bug#30489) 2018-03-18 23:13:29 -04:00
kmacro-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ls-lisp-tests.el Quieten compilation of some test/lisp files 2018-03-09 15:04:59 -05:00
man-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
md4-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mouse-tests.el * test/lisp/mouse-tests.el: Fix tests broken by mouse.el change 2018-01-30 17:37:20 -05:00
obarray-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-print-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
register-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
replace-tests.el Preserve case in query-replace undo 2018-04-09 11:47:47 +09:00
rot13-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ses-tests.el * test/lisp/ses-tests.el: Quieten compilation. 2018-03-15 12:32:50 -04:00
shell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
simple-tests.el Fix off-by-one history pruning (bug#31211) 2018-05-02 20:18:07 -04:00
sort-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soundex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-tests.el Fix documentation and tests for 'string-distance' 2018-04-28 10:27:53 +03:00
tar-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
term-tests.el Fix line-wrapping for term.el (Bug#30775) 2018-03-13 21:58:38 -04:00
thingatpt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
whitespace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xdg-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xt-mouse-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00