mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 15:50:40 -08:00
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`. |
||
|---|---|---|
| .. | ||
| ChangeLog.1 | ||
| ob-abc.el | ||
| ob-asymptote.el | ||
| ob-awk.el | ||
| ob-C.el | ||
| ob-calc.el | ||
| ob-clojure.el | ||
| ob-comint.el | ||
| ob-coq.el | ||
| ob-core.el | ||
| ob-css.el | ||
| ob-ditaa.el | ||
| ob-dot.el | ||
| ob-ebnf.el | ||
| ob-emacs-lisp.el | ||
| ob-eshell.el | ||
| ob-eval.el | ||
| ob-exp.el | ||
| ob-forth.el | ||
| ob-fortran.el | ||
| ob-gnuplot.el | ||
| ob-groovy.el | ||
| ob-haskell.el | ||
| ob-hledger.el | ||
| ob-io.el | ||
| ob-J.el | ||
| ob-java.el | ||
| ob-js.el | ||
| ob-latex.el | ||
| ob-ledger.el | ||
| ob-lilypond.el | ||
| ob-lisp.el | ||
| ob-lob.el | ||
| ob-lua.el | ||
| ob-makefile.el | ||
| ob-matlab.el | ||
| ob-maxima.el | ||
| ob-mscgen.el | ||
| ob-ocaml.el | ||
| ob-octave.el | ||
| ob-org.el | ||
| ob-perl.el | ||
| ob-picolisp.el | ||
| ob-plantuml.el | ||
| ob-processing.el | ||
| ob-python.el | ||
| ob-R.el | ||
| ob-ref.el | ||
| ob-ruby.el | ||
| ob-sass.el | ||
| ob-scheme.el | ||
| ob-screen.el | ||
| ob-sed.el | ||
| ob-shell.el | ||
| ob-shen.el | ||
| ob-sql.el | ||
| ob-sqlite.el | ||
| ob-stan.el | ||
| ob-table.el | ||
| ob-tangle.el | ||
| ob-vala.el | ||
| ob.el | ||
| ol-bbdb.el | ||
| ol-bibtex.el | ||
| ol-docview.el | ||
| ol-eshell.el | ||
| ol-eww.el | ||
| ol-gnus.el | ||
| ol-info.el | ||
| ol-irc.el | ||
| ol-mhe.el | ||
| ol-rmail.el | ||
| ol-w3m.el | ||
| ol.el | ||
| org-agenda.el | ||
| org-archive.el | ||
| org-attach-git.el | ||
| org-attach.el | ||
| org-capture.el | ||
| org-clock.el | ||
| org-colview.el | ||
| org-compat.el | ||
| org-crypt.el | ||
| org-ctags.el | ||
| org-datetree.el | ||
| org-duration.el | ||
| org-element.el | ||
| org-entities.el | ||
| org-faces.el | ||
| org-feed.el | ||
| org-footnote.el | ||
| org-goto.el | ||
| org-habit.el | ||
| org-id.el | ||
| org-indent.el | ||
| org-inlinetask.el | ||
| org-install.el | ||
| org-keys.el | ||
| org-lint.el | ||
| org-list.el | ||
| org-macro.el | ||
| org-macs.el | ||
| org-mobile.el | ||
| org-mouse.el | ||
| org-num.el | ||
| org-pcomplete.el | ||
| org-plot.el | ||
| org-protocol.el | ||
| org-refile.el | ||
| org-src.el | ||
| org-table.el | ||
| org-tempo.el | ||
| org-timer.el | ||
| org-version.el | ||
| org.el | ||
| ox-ascii.el | ||
| ox-beamer.el | ||
| ox-html.el | ||
| ox-icalendar.el | ||
| ox-latex.el | ||
| ox-man.el | ||
| ox-md.el | ||
| ox-odt.el | ||
| ox-org.el | ||
| ox-publish.el | ||
| ox-texinfo.el | ||
| ox.el | ||