1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 15:50:40 -08:00
emacs/lisp/org
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
..
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-abc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-asymptote.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-awk.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-C.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-calc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-clojure.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-comint.el Use declare instead of def-edebug-spec in most places 2021-02-12 16:08:01 -05:00
ob-coq.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-core.el Use declare instead of def-edebug-spec in most places 2021-02-12 16:08:01 -05:00
ob-css.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ditaa.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-dot.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ebnf.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-emacs-lisp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-eshell.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-eval.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-exp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-forth.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-fortran.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-gnuplot.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-groovy.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-haskell.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-hledger.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-io.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-J.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-java.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-js.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-latex.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ledger.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-lilypond.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-lisp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-lob.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-lua.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-makefile.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-matlab.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-maxima.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-mscgen.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ocaml.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-octave.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-org.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-perl.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-picolisp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-plantuml.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-processing.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-python.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-R.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ref.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-ruby.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-sass.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-scheme.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-screen.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-sed.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-shell.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-shen.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-sql.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-sqlite.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-stan.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-table.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob-tangle.el Use declare instead of def-edebug-spec in most places 2021-02-12 16:08:01 -05:00
ob-vala.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ob.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-bbdb.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-bibtex.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-docview.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-eshell.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-eww.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-gnus.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-info.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-irc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-mhe.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-rmail.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ol-w3m.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
ol.el Avoid recommending Google 2021-01-28 19:36:12 +01:00
org-agenda.el Prefer declare over a put of list-indent-function. 2021-02-22 11:54:17 -05:00
org-archive.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-attach-git.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-attach.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-capture.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-clock.el Use declare instead of def-edebug-spec in most places 2021-02-12 16:08:01 -05:00
org-colview.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-compat.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-crypt.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-ctags.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-datetree.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-duration.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-element.el Prefer declare over a put of list-indent-function. 2021-02-22 11:54:17 -05:00
org-entities.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-faces.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-feed.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-footnote.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-goto.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-habit.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-id.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-indent.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-inlinetask.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-install.el
org-keys.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-lint.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-list.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-macro.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-macs.el Prefer declare over a put of list-indent-function. 2021-02-22 11:54:17 -05:00
org-mobile.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-mouse.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-num.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-pcomplete.el Use declare instead of def-edebug-spec in most places 2021-02-12 16:08:01 -05:00
org-plot.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-protocol.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-refile.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
org-src.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-table.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
org-tempo.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-timer.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
org-version.el Update to Org 9.4.4 2020-12-22 10:29:37 +01:00
org.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
ox-ascii.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-beamer.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-html.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-icalendar.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-latex.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-man.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-md.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-odt.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-org.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-publish.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox-texinfo.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ox.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00