summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-listAndrea Corallo2021-05-061-2/+2
| | | | | | * lisp/emacs-lisp/comp.el (native-comp-bootstrap-deny-list) (batch-native-compile): Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-list.
* * Rename comp-always-compile → native-comp-always-compileAndrea Corallo2021-05-061-2/+2
| | | | | | * lisp/emacs-lisp/comp.el (native-comp-always-compile) (comp-run-async-workers): comp-always-compile → native-comp-always-compile.
* * Rename comp-verbose -> native-comp-verboseAndrea Corallo2021-05-061-6/+6
| | | | | | * lisp/emacs-lisp/comp.el (native-comp-verbose, comp-log) (comp-log-func, comp-final, comp-run-async-workers): Rename comp-verbose -> native-comp-verbose.
* Rename comp-debug -> native-comp-debugAndrea Corallo2021-05-062-6/+6
| | | | | | | | | * src/comp.c (emit_ctxt_code, syms_of_comp): Rename comp-debug -> native-comp-debug. * lisp/emacs-lisp/comp.el (native-comp-debug, comp-ctxt) (comp-spill-lap-function, comp-run-async-workers): Likewise. * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Likewise. * test/src/comp-tests.el (comp-tests-bootstrap): Likewise.
* Rename comp-speed -> native-comp-speedAndrea Corallo2021-05-062-11/+11
| | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Rename comp-speed -> native-comp-speed. * lisp/emacs-lisp/comp.el (native-comp-speed, comp-ctxt, comp-func, comp-spill-lap-function, comp-trampoline-compile, comp-run-async-workers): Likewise. * src/comp.c (emit_ctxt_code, load_comp_unit, syms_of_comp): Likewise. * test/src/comp-tests.el (comp-tests-tco, comp-tests-fw-prop-1) (comp-tests-check-ret-type-spec, comp-tests-pure): Likewise.
* * Rename comp-limple-mode -> native-comp-limple-modeAndrea Corallo2021-05-061-4/+4
| | | | | | * lisp/emacs-lisp/comp.el (comp-limple-lock-keywords): Doc update. (native-comp-limple-mode, comp-log-to-buffer): Rename comp-limple-mode -> native-comp-limple-mode.
* Tidy file-matching regexps and remove some ineffective backslashesMattias Engdegård2021-05-061-1/+1
| | | | | | | | | * lisp/emacs-lisp/package.el (package--delete-directory): * lisp/net/tramp-cmds.el (tramp-recompile-elpa): Escape dot; replace $ with \'. * lisp/help.el (help-for-help): * lisp/transient.el (transient-font-lock-keywords): Remove useless backslashes.
* Make (setf (map-elt ...)) return the value in the alist/plist casesLars Ingebrigtsen2021-05-061-13/+19
| | | | | | * lisp/emacs-lisp/map.el (map-elt): Return the value in the list case (which can signal a `map-not-inplace' error. (map-elt): Return the value in the list case, too (bug#47572).
* Extend read-multiple-choice to support free-form help descriptionsDaniel Martín2021-05-061-55/+74
| | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice): Add a new argument to override the default help description in `read-multiple-choice'. Use the `help-char' variable instead of ?\C-h. Also support the `edit' action from `query-replace-map', so that help links can be visited by entering a recursive edit.
* Rename feature `nativecomp' into `native-compile'Andrea Corallo2021-05-054-5/+5
| | | | | | | | | | | | | | | * test/src/comp-tests.el : Rename feature `nativecomp' into `native-compile'. * test/lisp/help-fns-tests.el (help-fns-test-lisp-defun): Likewise. * src/comp.c (syms_of_comp): Likewise. * lisp/startup.el (normal-top-level): Likewise. * lisp/loadup.el: Likewise. * lisp/help.el (help-function-arglist): Likewise. * lisp/emacs-lisp/package.el (package--native-compile-async) (package--delete-directory): Likewise. * lisp/emacs-lisp/nadvice.el (advice--add-function): Likewise. * lisp/emacs-lisp/comp.el (comp-ensure-native-compiler): Likewise. * lisp/emacs-lisp/advice.el (ad-add-advice): Likewise.
* * Do not try to load unexistent eln file if async compilation was skippedAndrea Corallo2021-05-041-5/+8
| | | | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Don't try to load if the eln file was not produced.
* Merge from origin/emacs-27Glenn Morris2021-05-042-19/+17
|\ | | | | | | | | | | | | 101a049f55 Improve doc string of 'tab-width'. 43c154404e * lisp/emacs-lisp/elp.el: Doc fixes. 1984213f62 * lisp/emacs-lisp/pp.el: Doc fixes. 6486c9dc73 * admin/make-tarball.txt: Note to update more files on web...
| * * lisp/emacs-lisp/elp.el: Doc fixes.Stefan Kangas2021-04-291-16/+14
| |
| * * lisp/emacs-lisp/pp.el: Doc fixes.Stefan Kangas2021-04-291-3/+3
| |
* | Don't use pdumper-stats with unexecNikolay Kudryavtsev2021-05-021-1/+2
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Check if pdumper-stats is bound before using it.
* | Don't signal scan-error in interactive sexp-based commandsMattias Engdegård2021-04-301-115/+131
| | | | | | | | | | | | | | | | | | This takes care of unfinished business from df0f32f04850 (bug#43489). * lisp/emacs-lisp/lisp.el (end-of-defun, mark-defun): * lisp/reposition.el (reposition-window): * lisp/simple.el (transpose-sexps): Convert nasty-looking scan-error into a human-readable message.
* | * Improve `comp-normalize-valset' reproducibility (bug#48021)Andrea Corallo2021-04-291-7/+12
| | | | | | | | | | * lisp/emacs-lisp/comp-cstr.el (comp-normalize-valset): Make it more reproducible.
* | * lisp/emacs-lisp/shortdoc.el: Doc fixes.Stefan Kangas2021-04-291-5/+9
| |
* | Doc fixes in avl-tree.elEli Zaretskii2021-04-281-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/avl-tree.el (avl-tree--root) (avl-tree--dir-to-sign, avl-tree--sign-to-dir) (avl-tree--del-balance, avl-tree--enter-balance) (avl-tree--do-copy, avl-tree--stack-repopulate, avl-tree-empty) (avl-tree-delete, avl-tree-member, avl-tree-member-p) (avl-tree-map, avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar) (avl-tree-copy, avl-tree-clear, avl-tree-stack) (avl-tree-stack-first): Fix doc strings to be less verbose and to have the first line a complete sentence.
* | * lisp/emacs-lisp/avl-tree.el: Minor doc fixes.Stefan Kangas2021-04-281-11/+11
| |
* | Have `comp-cstr-intersection-no-mem' intersect pos neg value setsAndrea Corallo2021-04-271-1/+3
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp-cstr.el (comp-cstr-intersection-no-mem): intersect pos and neg value sets * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-typespec-tests-alist): Add two tests and fix some test number.
* | ; * lisp/emacs-lisp/comp.el: Fix typos. Add LocalWords.Stefan Kangas2021-04-271-21/+24
| |
* | Doc fixes for comp.elGlenn Morris2021-04-261-6/+6
| | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-deferred-compilation-deny-list) (comp-bootstrap-deny-list, comp-pred-to-cstr, make-comp-mvar) (comp-mvar-used-p, comp-async-compilation): Doc fixes.
* | Fix some custom types in comp.elGlenn Morris2021-04-261-5/+5
| | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-deferred-compilation-deny-list) (comp-bootstrap-deny-list, comp-never-optimize-functions) (comp-async-env-modifier-form, comp-native-driver-options): Fix :type (`list' on its own isn't even a valid type).
* | Rename abnormal hook to comp-async-cu-done-functionsStefan Kangas2021-04-271-6/+5
| | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-async-cu-done-functions): Rename from 'comp-async-cu-done-hook' to reflect that it is an abnormal hook. Doc fix and update single caller.
* | * lisp/emacs-lisp/package.el: Fix use of `find-library-name`Stefan Monnier2021-04-262-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | That function caused a warning for a good reason. Don't just declare it and hope it will be available. (package--list-of-conflicts): Require `find-func` explicitly before declaring the function. Also don't ignore all errors but only the `file-error`s which will be emitted by `find-library-name` in normal circumstances. * lisp/emacs-lisp/find-func.el (find-library-name): Signal a `file-error` Instead of a generic `error`.
* | * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Initialize it.Andrea Corallo2021-04-261-1/+1
| |
* | Rework where `comp-ctxt' is defined.Andrea Corallo2021-04-262-2/+4
| | | | | | | | | | | | | | * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Remove `comp-ctxt' definition. * lisp/emacs-lisp/comp.el (comp-ctxt): Likewise. * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Define it here.
* | * lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021).Andrea Corallo2021-04-261-0/+2
| |
* | * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix string-search.Andrea Corallo2021-04-261-1/+1
| |
* | * lisp/emacs-lisp/comp.el (comp-accept-and-process-async-output): Fix regexp.Andrea Corallo2021-04-261-1/+1
| |
* | ; Add 2021 to copyright yearsGlenn Morris2021-04-252-4/+2
| |
* | * lisp/emacs-lisp/comp.el (no-native-compile): Minor doc fixes.Stefan Kangas2021-04-251-7/+6
| |
* | Merge branch 'feature/native-comp' into into trunkAndrea Corallo2021-04-2512-50/+5670
|\ \
| * | * lisp/emacs-lisp/comp.el (comp-imm-equal-test): Style fix.Andrea Corallo2021-04-211-2/+1
| | |
| * | * lisp/emacs-lisp/comp.el (batch-byte-native-compile-for-bootstrap): Fix typo.Andrea Corallo2021-04-211-1/+1
| | |
| * | Fix native compiler string hash consing strategy (bug#47868)Andrea Corallo2021-04-211-34/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/comp-tests.el (comp-test-47868-1): Add new test. * test/src/comp-test-funcs.el (comp-test-47868-1-f) (comp-test-47868-2-f): New functions. * lisp/emacs-lisp/comp.el (comp-imm-equal-test): Define new hash tanble test. (comp-data-container): Use it. (comp-final, comp-run-async-workers): have comp required before reading dumped hashes so that `comp-imm-equal-test' is defined.
| * | Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-04-1921-83/+110
| |\ \
| * | | * lisp/emacs-lisp/comp.el (comp-effective-async-max-jobs): Handle BSD.Ashish SHUKLA2021-04-161-0/+3
| | | |
| * | | Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-04-1313-159/+167
| |\ \ \
| * | | | * lisp/emacs-lisp/comp-cstr.el (comp-cstr-union-1-no-mem): (not null) => t.Andrea Corallo2021-04-131-1/+9
| | | | |
| * | | | * lisp/emacs-lisp/comp-cstr.el (comp-normalize-valset): Remove duplicates.Andrea Corallo2021-04-131-6/+8
| | | | |
| * | | | * Improve some docstring in comp.elAndrea Corallo2021-04-071-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp--native-compile) (batch-native-compile, batch-byte-native-compile-for-bootstrap): Improve docstring.
| * | | | Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-04-052-3/+9
| |\ \ \ \
| * | | | | * lisp/emacs-lisp/comp.el (comp-clean-up-stale-eln): Clean-up all .eln dirs.Andrea Corallo2021-04-041-2/+5
| | | | | |
| * | | | | Issue a warning when eln look-up fails due to missing .el source file.Andrea Corallo2021-04-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-warning-on-missing-source): New customize. * src/lread.c (maybe_swap_for_eln): Issue a warning when eln look-up fails due to missing .el source file. * src/comp.c (syms_of_comp): Define 'Qcomp_warning_on_missing_source'.
| * | | | | * lisp/emacs-lisp/comp.el (comp-final): Clean-up temporary file.Andrea Corallo2021-03-311-1/+3
| | | | | |
| * | | | | Rework native compilation `comp-debug' (bug#46495)Andrea Corallo2021-03-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-debug): Update docstring and move default on Windows systems from 0 to 1. * src/comp.c (Fcomp__compile_ctxt_to_file): Tweak debug levels.
| * | | | | * lisp/emacs-lisp/comp.el (comp-debug): Fix docstring.Andrea Corallo2021-03-311-2/+2
| | | | | |
| * | | | | Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-03-257-133/+117
| |\ \ \ \ \