1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 13:11:14 -08:00
emacs/lisp/net
Stefan Monnier 8d5dfafab7 Prefer declare over a put of list-indent-function.
While at it, I enabled lexical-binding in the affected files.

* lisp/cedet/semantic/sb.el: Enable lexical-binding.
(semantic-sb-with-tag-buffer): Use `declare`.

* lisp/cedet/semantic/bovine/el.el: Enable lexical-binding.
(semantic-elisp-setup-form-parser): Use `declare`.

* lisp/emacs-lisp/ert.el:
* lisp/emacs-lisp/ert-x.el: Remove redundant `put`.

* lisp/emulation/cua-rect.el: Enable lexical-binding.
(cua--rectangle-operation, cua--rectangle-aux-replace): Use `declare`.

* lisp/mh-e/mh-acros.el: Enable lexical-binding.
(mh-do-in-gnu-emacs, mh-do-in-xemacs, mh-funcall-if-exists, defun-mh)
(defmacro-mh, with-mh-folder-updating, mh-in-show-buffer)
(mh-do-at-event-location, mh-iterate-on-messages-in-region)
(mh-iterate-on-range): Use `declare`.

* lisp/mh-e/mh-compat.el: Enable lexical-binding.
(mh-flet): Use `declare`.

* lisp/mh-e/mh-e.el: Enable lexical-binding.
(defgroup-mh, defcustom-mh, defface-mh): Use `declare`.

* lisp/net/sieve.el: Enable lexical-binding.  Remove redundant :group args.
(sieve-activate, sieve-remove, sieve-edit-script): Remove unused arg
from the interactive spec.
(sieve-deactivate-all): Remove unused var `name`.
(sieve-change-region): Use `declare`.

* lisp/obsolete/fast-lock.el: Enable lexical-binding.
Remove redundant :group args.  Remove XEmacs compat code.
(save-buffer-state): Remove macro.
(fast-lock-add-properties): Use `with-silent-modifications` instead.

* lisp/obsolete/lazy-lock.el: Enable lexical-binding.
Remove redundant :group args.
(do-while): Use `declare`.
(save-buffer-state): Remove macro.
(lazy-lock-fontify-rest-after-change, lazy-lock-defer-line-after-change)
(lazy-lock-defer-rest-after-change, lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-fontify-region):
Use `with-silent-modifications` instead.

* lisp/obsolete/pgg.el: Enable lexical-binding.  Remove XEmacs compat code.
(pgg-save-coding-system, pgg-as-lbt, pgg-process-when-success):
Use `declare`.
(pgg-add-passphrase-to-cache): Remove unused var `new-timer`.
(pgg-decrypt-region): Remove unused var `buf`.

* lisp/org/org-agenda.el (org-let, org-let2): Move from org-macs and
use `declare`.

* lisp/org/org-macs.el (org-let, org-let2): Move these functions that
are inherently harmful to your karma to the only package that uses them.
(org-scroll): Use `pcase` to avoid `eval` and use more readable syntax
for those integers standing for events.

* lisp/progmodes/antlr-mode.el: Enable lexical-binding.
(save-buffer-state-x): Use `declare` and `with-silent-modifications`.

* lisp/international/mule-util.el (with-coding-priority):
* lisp/cedet/ede/proj-comp.el (proj-comp-insert-variable-once):
* lisp/org/org-element.el (org-element-map):
* test/lisp/emacs-lisp/bytecomp-tests.el (test-byte-comp-compile-and-load):
* test/lisp/emacs-lisp/generator-tests.el (cps-testcase): Use `declare`.
2021-02-22 11:54:17 -05:00
..
ange-ftp.el * lisp/net/ange-ftp.el (ange-ftp-ls): Handle several "--dired" switches. 2021-01-28 15:09:29 +01:00
browse-url.el Prefer defvar-local in net/*.el 2021-01-31 20:08:25 +01:00
dbus.el Add command 'dbus-monitor' 2021-02-05 14:32:41 +01:00
dictionary-connection.el Fix typos 2021-02-18 16:50:55 +01:00
dictionary.el Fix typos 2021-02-18 16:50:55 +01:00
dig.el
dns.el Fix hang when running dns-query with no working internet 2021-02-22 15:48:06 +01:00
eudc-bob.el
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el Fix typos 2021-02-18 16:50:55 +01:00
eww.el Mark up eww.el for correct modes 2021-02-14 14:08:56 +01:00
gnutls.el
goto-addr.el
hmac-def.el
hmac-md5.el
imap.el
ldap.el Use lexical-binding in a few more scattered files 2021-02-09 13:27:20 -05:00
mailcap.el Fix typos 2021-02-18 16:50:55 +01:00
mairix.el Use lexical-binding in a few more scattered files 2021-02-09 13:27:20 -05:00
net-utils.el
netrc.el
network-stream.el
newst-backend.el Remove redundant requires of 'derived' 2021-01-31 04:30:48 +01:00
newst-plainview.el Remove redundant requires of 'derived' 2021-01-31 04:30:48 +01:00
newst-reader.el
newst-ticker.el
newst-treeview.el Enable newsticker--group-shift-feed-(up|down) to move groups as well 2021-02-19 17:07:36 +01:00
newsticker.el
nsm.el
ntlm.el
pop3.el
puny.el
quickurl.el
rcirc.el Prefer defvar-local in net/*.el 2021-01-31 20:08:25 +01:00
rfc2104.el
rlogin.el
sasl-cram.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
sasl-digest.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
sasl-ntlm.el ; Silence byte-compiler 2021-01-29 21:06:02 +01:00
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el ; Silence byte-compiler 2021-01-29 21:06:02 +01:00
secrets.el
shr-color.el
shr.el ; Finish recent rename of completion-* predicates. 2021-02-17 13:27:56 +00:00
sieve-manage.el
sieve-mode.el
sieve.el Prefer declare over a put of list-indent-function. 2021-02-22 11:54:17 -05:00
snmp-mode.el Use lexical-binding in snmp-mode.el 2021-02-10 14:42:51 +01:00
soap-client.el
soap-inspect.el Prefer defvar-local in net/*.el 2021-01-31 20:08:25 +01:00
socks.el Use raw bytes for SOCKS 4 IP addresses 2021-02-20 13:03:12 +02:00
telnet.el Prefer defvar-local in net/*.el 2021-01-31 20:08:25 +01:00
tramp-adb.el Tramp code cleanup 2021-02-03 18:48:09 +01:00
tramp-archive.el
tramp-cache.el
tramp-cmds.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
tramp-compat.el Tramp code cleanup 2021-02-03 18:48:09 +01:00
tramp-crypt.el Tramp code cleanup 2021-02-03 18:48:09 +01:00
tramp-ftp.el
tramp-gvfs.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
tramp-integration.el
tramp-rclone.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
tramp-sh.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
tramp-smb.el Fix typos 2021-02-18 16:50:55 +01:00
tramp-sudoedit.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
tramp-uu.el
tramp.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
trampver.el Further Tramp code cleanup 2021-02-17 18:04:35 +01:00
webjump.el Avoid recommending Google 2021-01-28 19:36:12 +01:00
zeroconf.el