1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00
emacs/lisp/net
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
..
ange-ftp.el Merge from origin/emacs-26 2018-03-10 18:30:54 -08:00
browse-url.el Followup to last change in browse-url.el 2018-03-19 11:17:20 +02:00
dbus.el Make dbus.el fitter for Emacs configured --without-dbus 2018-04-06 11:49:21 +02:00
dig.el
dns.el
eudc-bob.el Replace some obsolete aliases in code 2018-03-07 15:44:08 -05:00
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el * lisp/net/eudc.el (split-string): Remove pre-21 fallback definition. 2018-04-25 14:40:28 -04:00
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eww.el Fix off-by-one history pruning (bug#31211) 2018-05-02 20:18:07 -04:00
gnutls.el gnutls.el now needs punycode 2018-04-13 16:39:17 +02:00
goto-addr.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
hmac-def.el
hmac-md5.el
imap.el Update some lisp function declarations 2018-02-26 13:35:30 -05:00
ldap.el
mailcap.el Tweak mailcap precedence so that Emacs values are heeded better 2018-04-14 14:50:14 +02:00
mairix.el
net-utils.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
netrc.el
network-stream.el Make Unicode domain names work again in URL after recent changes 2018-04-13 16:38:10 +02:00
newst-backend.el * lisp/net/newst-backend.el (newsticker--sentinel-work): 2018-04-20 13:46:45 -04:00
newst-plainview.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
newst-reader.el
newst-ticker.el
newst-treeview.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
newsticker.el
nsm.el
ntlm.el
pop3.el
puny.el Explicitly require cl-lib where needed 2018-03-16 20:41:17 -04:00
quickurl.el Replace uses of the obsolete local-write-file-hooks 2018-03-08 20:03:13 -05:00
rcirc.el * lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using. 2018-02-26 15:41:02 -05:00
rfc2104.el
rlogin.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl.el
secrets.el Let Tramp save passwords 2018-04-23 10:16:06 +02:00
shr-color.el
shr.el Set :version of shr faces 2018-04-17 21:46:26 +02:00
sieve-manage.el
sieve-mode.el
sieve.el
snmp-mode.el
soap-client.el
soap-inspect.el
socks.el * lisp/net/socks.el: Use lexical-binding and process properties 2018-04-29 22:25:09 -04:00
starttls.el
telnet.el
tls.el
tramp-adb.el Fix Bug#30946 2018-03-29 15:59:11 +02:00
tramp-archive.el Fix Bug#30946 2018-03-29 15:59:11 +02:00
tramp-cache.el
tramp-cmds.el Let Tramp save passwords 2018-04-23 10:16:06 +02:00
tramp-compat.el Fix Bug#30946 2018-03-29 15:59:11 +02:00
tramp-ftp.el
tramp-gvfs.el Let Tramp save passwords 2018-04-23 10:16:06 +02:00
tramp-sh.el Ensure proper EOL handling for Tramp on macOS 2018-04-23 10:01:27 +02:00
tramp-smb.el Fix some edge cases of tramp-smb 2018-05-02 12:31:51 +02:00
tramp-uu.el
tramp.el Adapt Tramp for auth-source 2018-05-02 18:12:48 +02:00
trampver.el
webjump.el
zeroconf.el * lisp/net/zeroconf.el (dbus-debug): Declare for builds without dbus. 2018-02-26 17:00:41 -05:00