-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various cosmetic changes and fix some warnings
Enable `lexical-binding` when missing in the files recently modified. Fix compile warnings about quotes in docstrings. Prefer #' to quote function names. * coq/coq.el: Require `proof-syntax`, `proof-useropts`, and `proof-utils` to silence some compiler warnings. (action, string): Move dynbound declaration to a smaller scope in `coq-preprocessing`. (coq-set-state-infos, coq-grab-punctuation-left): Fit docstring within 80 columns. (coq-diffs--setter, coq-diffs): Move `coq-diffs` var before first use. (coq-shell-theorem-dependency-list-regexp) (coq-dependency-menu-system-specific) (coq-dependencies-system-specific): Move vars before their first use. (coq-proof-tree-insert-evar-command): Simplify with `or`. (coq-preprocessing): Declare `action` and `string` locally to be dynbound. (coq-highlight-span-dependencies): Remove unused var `proof-pos`. <trailer>: Remove second coding cookie since .el files default to utf-8. * generic/pg-autotest.el: Use `lexical-binding`. (pg-autotest-test-script-randomjumps): Remove unused var `random-edit`. (pg-autotest-test-eval): Use lexical binding. * generic/proof-script.el (proof-colour-locked, proof-setup-imenu) (proof-colour-locked-span, proof-script-delete-spans) (proof-goto-end-of-locked-on-error-if-pos-not-visible-in-window): Fit docstring within 80 columns. * generic/proof-syntax.el: Use `lexical-binding`. (proof-replace-regexp-in-string, proof-re-search-forward) (proof-re-search-backward, proof-re-search-forward-safe): Fit docstring within 80 columns. (proof-format): Use lexical binding.
- Loading branch information
Showing
4 changed files
with
120 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.