summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Rename 'package-vc-allow-side-effects' to better fit its useEshel Yaron2023-08-291-3/+3
| | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-allow-side-effects): Rename to 'package-vc-allow-build-commands'. (package-vc--unpack-1): Use new name. * doc/emacs/package.texi (Fetching Package Sources): Use new name. * etc/NEWS: Adapt accordingly. (Bug#65386)
* ; Refine 'defcustom' types in 'package-vc'Eshel Yaron2023-08-291-5/+14
| | | | | | | | | Only include VC backends that support cloning in the ':type' of 'package-vc-heuristic-alist' and 'package-vc-default-backend', and compute the list of relevant on demand to keep it fresh. * lisp/emacs-lisp/package-vc.el (package-vc--backend-type): New constant. (package-vc-heuristic-alist, package-vc-default-backend): Use it. (Bug#65386)
* ; Refine some 'package-vc' docstringsEshel Yaron2023-08-291-65/+102
| | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-heuristic-alist) (package-vc-install-dependencies, package-vc-upgrade) (package-vc-install, package-vc-install-from-checkout) (package-vc-prepare-patch, package-vc-upgrade-all) (package-vc-allow-side-effects) (package-vc-default-backend): Refine docstrings. (Bug#65386)
* Use ensure-list in many more placesStefan Kangas2023-08-272-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align-region): * lisp/auth-source-pass.el (auth-source-pass--build-result-many): * lisp/auth-source.el (auth-source-ensure-strings): * lisp/calendar/appt.el (appt-disp-window): * lisp/cedet/mode-local.el (mode-local-map-mode-buffers): * lisp/cus-edit.el (custom-prompt-variable) (custom-variable-menu-create): * lisp/dired-x.el (dired-mark-extension, dired-mark-suffix): * lisp/emacs-lisp/checkdoc.el (checkdoc-defun-info): * lisp/emacs-lisp/eieio.el (object-add-to-list): * lisp/emulation/cua-base.el (cua--M/H-key): * lisp/epg.el (epg--list-keys-1): * lisp/faces.el (read-face-name): * lisp/format.el (format-decode): * lisp/gnus/gnus-score.el (gnus-home-score-file) (gnus-all-score-files): * lisp/gnus/gnus-uu.el (gnus-uu-grab-articles): * lisp/gnus/message.el (message-make-forward-subject): * lisp/gnus/nnmairix.el (nnmairix-create-search-group): * lisp/gnus/spam.el (spam-copy-or-move-routine): * lisp/help-fns.el (describe-face): * lisp/ibuf-macs.el (define-ibuffer-filter): * lisp/international/mule-cmds.el (select-safe-coding-system): * lisp/net/imap.el (imap-send-command): * lisp/printing.el (pr-menu-get-item): * lisp/speedbar.el (speedbar-add-supported-extension) (speedbar-add-ignored-directory-regexp): * lisp/textmodes/rst.el (rst-forward-line-looking-at): * lisp/vc/ediff-util.el (ediff-other-buffer): * lisp/vc/diff.el (diff-no-select): * lisp/vc/vc-dir.el (vc-dir-mark-state-files): * lisp/wid-edit.el (widget-prompt-value): * lisp/windmove.el (windmove-default-keybindings) (windmove-display-default-keybindings) (windmove-delete-default-keybindings) (windmove-swap-states-default-keybindings): * lisp/window.el (display-buffer-reuse-mode-window): * lisp/woman.el (woman-expand-directory-path): Prefer ensure-list.
* ; Delete redundant defvars; font-lock is preloadedStefan Kangas2023-08-252-6/+0
|
* ; Delete code commented out since 1992Stefan Kangas2023-08-251-2/+0
|
* Revert "; Reverse debug spec of cl-flet (bug#65344)"Gerd Möllmann2023-08-231-16/+9
| | | | This reverts commit cc0f546825e0db9ff78f82c62615686aa480a133.
* ; Reverse debug spec of cl-flet (bug#65344)Gerd Möllmann2023-08-221-9/+16
|
* Merge from origin/emacs-29Jim Porter2023-08-211-5/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3296031ad74 ; Another improvement for documentation of pixelwise scro... baeb2d71ae7 Support defun navigation for DEFUN in c-ts-mode (bug#64442) 781ddd7e7d8 Fix touchpad scrolling on MS-Windows c125bd060e2 Fix order in which package-vc dependencies are resolved 500ced133ad Fix building of VC package manuals with relative org link... 456ecabe9e8 Fix the documentation of 'cl-flet' f6ebd1ef0d0 ; * src/treesit.c (Ftreesit_node_parent): Improve comment... fac0e2d5334 Avoid false "wrong passphrase" messages in EPA 8f683b51d8b Fix jsx font-lock in older tree-sitter-js grammars d9af79ae39d Fix cloning 'face-remapping-alist' for indirect buffers 636fb267c46 Improve documentation of case transfer in replacement com... 7856d51436b Fix horizontal scrolling of images with C-f 8cf5659ec2f ; Fix defcustom in completion.el a8c8a4e3680 ; * src/fns.c (Fcopy_sequence): Doc fix. (Bug#64960) 205d87cdca0 Fix unpacking ZIP archives on MS-Windows 3712e8bc385 ; Fix typos in lisp/keymap.el doc strings (bug#65329). 21b2ecee661 Fix command example in Eshell manual 26949819df0 ; lisp/progmodes/csharp-mode.el (treesit-query-capture): ... 221ed70b90a ; Improve documentation of 'define-alternatives' 32280205e27 Add user options mentioned in the Eshell manual to the va... cf3145a486b * Add missing alias to `native-comp-enable-subr-trampolin... 922b6490286 * Add missing alias to `native-comp-enable-subr-trampolin... 6962823c83c ; * etc/PROBLEMS: Fix typo and clarify wording. # Conflicts: # doc/misc/eshell.texi
| * Fix order in which package-vc dependencies are resolvedPhilip Kaludercic2023-08-191-4/+2
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies): Avoid a type-mismatch when comparing two packages. (Bug#65283)
| * Fix building of VC package manuals with relative org links/includesJoseph Turner2023-08-191-1/+2
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Ensure that default-default is the docs-directory around org-export-to-file to ensure that links to relative files work correctly. (Bug#65243)
* | Explicitly disallow named-let in code using dynamic bindingMattias Engdegård2023-08-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | There is no point in permitting named-let to be used in dynbound code; our code transforms are simply not valid in that context, and it's not worth the trouble to make it work (to the extent that it is at all possible). (Bug#59576) * lisp/emacs-lisp/subr-x.el (named-let): Error if used with dynamic binding. * doc/lispref/variables.texi (Local Variables): Amend manual.
* | Fix debug spec of cl-flet (bug#65344)Gerd Möllmann2023-08-211-4/+6
| | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-flet): Fix debug spec. (cl-defun): Allow only symbols as function names in debug spec. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-flet/edebug): New test case.
* | Add command to start Emacs with specific packagesPhilip Kaludercic2023-08-191-6/+70
| | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--dependencies): Extend function to handle and return package descriptors. (package-isolate): Add new command. * etc/NEWS: Announce new command.
* | Remedy wrong-looking \(:?...\) regexp constructsMattias Engdegård2023-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we see \(:?...\) in a regexp it very much looks like a typo for a \(?:...\) construct and often is, so do something about all of these (one of which being another mistake). Doing so silences an optional relint check. * lisp/comint.el (comint-replace-by-expanded-history-before-point): * lisp/term.el (term-replace-by-expanded-history-before-point): Move :? out from capturing group where it does not need to be, to avoid confusion. * lisp/emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation): A capturing group isn't needed here; turn it into simple bracketing. * lisp/progmodes/sql.el (sql--completion-table): Change :? into ?: which was clearly meant here.
* | ; Fix byte-compiler warnings in comp.elEli Zaretskii2023-08-161-0/+17
| | | | | | | | | | * lisp/emacs-lisp/comp.el: Declare functions and variables defined in comp.c, to avoid byte-compiler warnings. (Bug#65250)
* | * lisp/emacs-lisp/pp.el (pp-fill): Fix bug#65159Stefan Monnier2023-08-141-2/+4
| |
* | cl-generic.el: Fix docstring for methods with `cl-call-next-method`Stefan Monnier2023-08-141-4/+4
| | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl--generic-method-info): Fix docstring extraction for "curried" methods (bug#65270).
* | Ignore ert-deftest body valueMattias Engdegård2023-08-141-1/+3
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-deftest): Since the return value of the body isn't going to be used, ignore it explicitly so that the compiler can warn if we try to return something anyway. In particular, this exposes some comparisons whose result weren't actually checked.
* | Revert "* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit ↵Mattias Engdegård2023-08-141-3/+1
| | | | | | | | | | | | | | interaction" This reverts commit bb9133f09dafb069cafe2bea72452bd34b3d6dd2, because it inadvertently made many tests fail.
* | * lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interactionStefan Monnier2023-08-131-1/+3
| |
* | `equal` is not error-freeMattias Engdegård2023-08-131-6/+8
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns) (side-effect-and-error-free-fns) (byte-compile-side-effect-and-error-free-ops) (byte-compile-side-effect-free-ops): Demote `equal` and `equal-including-properties` from error-free to merely side-effect-free since they may in fact signal error on circularity.
* | ; * lisp/emacs-lisp/rx.el: slight modernisation of internal rx usageMattias Engdegård2023-08-131-7/+7
| |
* | Avoid unexpected implicit completion in find-func.elEli Zaretskii2023-08-131-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-function-read): Don't allow implicit completion, which could produce unexpected results. Patch by Jens Schmidt <jschmidt4gnu@vodafonemail.de>. (Bug#65058)
* | * lisp/emacs-lisp/cl-macs.el (cl--labels-convert): Remove outdated fixmeStefan Monnier2023-08-121-1/+0
| | | | | | | | This was fixed in commit 44d7fd3805.
* | Merge from origin/emacs-29Eli Zaretskii2023-08-121-7/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 842dbf500e0 * Fix `batch-byte+native-compile' target directory. 8dbd5aa1eef Avoid crashes in 'display_count_lines' when current buffe... 47b4f4cf783 ; * doc/emacs/mini.texi (Completion Commands): Fix a typo... 78999d52136 Update csharp tree-sitter support due to upstream changes 556cb01b48e Substitute command keys in 'ielm-header' at use time 99367078e50 ; * etc/PROBLEMS: Add entry about XIM problems (bug#65205). 03e897c08fa Fix rare crashes in redisplay due to problems with fontsets b1ba06a1e4b Fix a typo in 'leuven-dark-theme.el' e80a9dcabb9 ; * admin/git-bisect-start: Update failing commits 9091f42784b ; * admin/git-bisect-start: Update failing commits 344ac529ca9 ; * etc/PROBLEMS: Fix typo. bccf848b26c Adapt Tramp test 71bc060e403 Properly expand the JSX indentation rules in 'js-ts-mode' 889cfb42ed9 * Add `emacs-lisp-native-compile' to easy-menu. 4535aafa8a3 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Si... 173af0cad51 * Introduce `emacs-lisp-native-compile'. 063d7d89d7a Fix the -x switch in non-X builds 5a7fb0b39b7 Document that `set-mouse-color' does not work everywhere d06fc72496f ; * doc/emacs/dired.texi (Misc Dired Features): Fix last ... 97b8ac376b5 Fix the effects and documentation of 'dired-free-space' 75c72e59f69 ; Fix typo 6d11b7b3007 Fix cross-reference to eldoc in eglot manual 913e50aba6c Add native-compilation to Emacs Lisp mode menu b93107c20b2 Fix emacs-lisp-native-compile-and-load eln target directo...
| * * Fix `batch-byte+native-compile' target directory.Andrea Corallo2023-08-121-2/+3
| | | | | | | | | | * lisp/emacs-lisp/comp.el (batch-native-compile): Don't shadow `native-compile-target-directory' unless necessary.
| * Fix emacs-lisp-native-compile-and-load eln target directory (bug#64226)Andrea Corallo2023-08-091-5/+4
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-spill-lap-function): Don't use `byte+native-compile' to select output directory but always axpect it explicit through `native-compile-target-directory'. (batch-byte+native-compile): Set `native-compile-target-directory'. * test/src/comp-tests.el (comp-tests-bootstrap): Set `native-compile-target-directory'.
* | Merge from origin/emacs-29Eli Zaretskii2023-08-121-12/+30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4767f5eaeed Better fix for bug#65156 dd1d8414b33 Fix insert-file-contents with pipes and /dev/stdin 50649a6d1a2 ; * etc/PROBLEMS: Fix wording. f0dda682ffb ; * etc/NEWS.28: Add deletion of levents.el. f4acae842c0 Fix bug#65042 e1874c4e8bf * configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes (b... ef8838c3a5f * etc/NEWS: Mention tramp-show-ad-hoc-proxies. 495bee253fc * test/lisp/net/tramp-tests.el (tramp-test42-utf8): Skip ... de1effd73b4 ; Fix last change 7c7966862bc * test/lisp/net/tramp-tests.el (tramp-test10-write-region... 16205e8db65 ; Improve help-echo in package.el a95e7006989 ; Filter packages available for upgrade via menu bar adff72dd1d2 Fix reverting Rmail buffers
| * ; Improve help-echo in package.elEli Zaretskii2023-08-061-13/+29
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-mode-menu): Improve help-echo descriptions. (Bug#65094)
| * ; Filter packages available for upgrade via menu barArash Esbati2023-08-061-0/+2
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-mode-menu): Add entry to filter packages available for upgrade via menu bar. (bug#65094)
* | rx: Better translation of char-matching patternsMattias Engdegård2023-08-121-206/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Translate or-patterns that (even partially) match single characters into character alternatives which are more efficient in matching, sometimes algorithmically so. Example: (or "%" (in "a-z") space) was previously translated to "%\\|[a-z]\\|[[:space:]]" but now becomes "[%a-z[:space:]]" Single-char patterns include `nonl` and `anychar`, which now can also be used in set operations (union, complement and intersection), and character classes. For example, `(or nonl "\n")` is now equivalent to `anychar`. * lisp/emacs-lisp/rx.el (rx--expand-def): Remove, split into... (rx--expand-def-form, rx--expand-def-symbol): ...these. (rx--translate-compat-symbol-entry) (rx--translate-compat-form-entry): New functions for handling the legacy extension mechanism. (rx--normalise-or-arg): Renamed to... (rx--normalise-char-pattern): ...this, and rewrite. (rx--all-string-or-args): Remove, split into... (rx--all-string-branches-p, rx--collect-or-strings): ...these. (rx--char-alt-union, rx--intersection-intervals) (rx--reduce-to-char-alt, rx--optimise-or-args) (rx--translate-char-alt, rx--human-readable): New. (rx--translate-or, rx--translate-not, rx--translate-intersection): Rewrite. (rx--charset-p, rx--intervals-to-alt, rx--charset-intervals) (rx--charset-union, rx--charset-intersection, rx--charset-all) (rx--translate-union): Remove. (rx--generate-alt): Decide whether to generate a negated character alternative. (rx--complement-intervals, rx--intersect-intervals) (rx--union-intervals): Rename to... (rx--interval-set-complement, rx--interval-set-intersection) (rx--interval-set-union): ...these. (rx--translate-symbol, rx--translate-form): Refactor extension processing. Handle synthetic `rx--char-alt` form. * test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-char-any-raw-byte) (rx-any, rx-charset-or): Adapt to changes and extend. * test/lisp/emacs-lisp/rx-tests.el (rx--complement-intervals) (rx--union-intervals, rx--intersect-intervals): Rename to... (rx--interval-set-complement, rx--interval-set-union) (rx--interval-set-intersection): ...these.
* | * lisp/emacs-lisp/cl-macs.el (cl--labels-convert): Fix bug#65017Stefan Monnier2023-08-111-1/+13
| | | | | | | | | | | | This fixes what I consider to be the core of the bug, by handling `cl--labels-convert-cache` more carefully (i.e. being more careful how we look up its value and by flushing it ASAP).
* | Remove harmful and redundant bindings from the byte compiler.Alan Mackenzie2023-08-092-49/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug#65017. Binding symbols-with-pos-enabled in two macro handling functions was harmful; one of these caused cl--labels-convert to fail. Binding print-symbols-bare in many places in the byte compiler was redundant. * lisp/emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel) (byte-compile-initial-macro-environment) (byte-compile-output-file-form, byte-compile-output-docform) (byte-compile-preprocess): Remove bindings of print-symbols-bare. * lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro) (internal-macroexpand-for-load): Remove bindings of symbols-with-pos-enabled. (internal-macroexpand-for-load): Remove binding of print-symbols-bare.
* | Fix all my attributions to be correct and consistent...Eric S. Raymond2023-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...in case people are trying to track me down for questions. .mailmap, ChangeLog.1, admin/notes/copyright, doc/emacs/ChangeLog.1, doc/emacs/ack.texi, doc/lispref/ChangeLog.1, doc/misc/gnus.texi, etc/ChangeLog.1, lib-src/ChangeLog.1, lisp/ChangeLog.13, lisp/ChangeLog.14, lisp/ChangeLog.15, lisp/ChangeLog.17, lisp/ChangeLog.3, lisp/ChangeLog.4, lisp/ChangeLog.5, lisp/ChangeLog.6, lisp/ChangeLog.7, lisp/emacs-lisp/lisp-mnt.el, lisp/finder.el, lisp/loadhist.el, lisp/play/cookie1.el, lisp/progmodes/asm-mode.el, lisp/progmodes/gud.el, lisp/progmodes/make-mode.el, lisp/term/AT386.el, src/ChangeLog.3
* | ; Fix thinkoStefan Kangas2023-08-081-1/+1
| |
* | Make lm-verify footer checking more strictStefan Kangas2023-08-081-3/+3
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-verify): Make file footer regexp more strict to match requirement in old versions of package.el (now only a warning).
* | Check keyword args of make-pipe-process (bug#65030)Mattias Engdegård2023-08-081-0/+7
| | | | | | | | * lisp/emacs-lisp/bytecomp.el (make-pipe-process): Add check.
* | Check keyword args of make-processHelmut Eller2023-08-081-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functions make-process and make-network-process have many keyword args and it's easy to misspell some of them. Use a compiler macro to warn about some possible mistakes. * lisp/emacs-lisp/bytecomp.el (bytecomp--check-keyword-args): New helper. (make-process, make-network-process): Define a compiler macro that performs some checks but doesn't anything else. * test/lisp/emacs-lisp/bytecomp-tests.el: Add some tests. * test/lisp/emacs-lisp/bytecomp-resources/: (warn-make-process-missing-keyword-arg.el, warn-make-process-missing-keyword-value.el, warn-make-process-repeated-keyword-arg.el, warn-make-process-unknown-keyword-arg.el): New test files
* | Teach byte-compiler about Aristotelian identityMattias Engdegård2023-08-081-15/+18
| | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize-equal, byte-optimize-eq): Optimise (eq X X) -> t where X is a variable; idem for eql and equal. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): Add test case.
* | Make XEmacs compat aliases for timers obsoleteStefan Kangas2023-08-081-4/+5
| | | | | | | | | | * lisp/emacs-lisp/timer.el (disable-timeout, add-timeout): Make XEmacs compat aliases obsolete. Update all callers.
* | Make Emacs 21 compat aliases easy-mmode-* obsoleteStefan Kangas2023-08-081-4/+6
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-minor-mode) (easy-mmode-define-global-mode): Make Emacs 21 compatibility aliases obsolete. * doc/lispref/loading.texi (Autoload): * doc/lispref/modes.texi (Defining Minor Modes): Don't document above obsolete aliases.
* | Merge remote-tracking branch 'origin/master' into feature/androidPo Lu2023-08-072-18/+18
|\ \
| * | Mark Emacs 21 compat aliases `lm-*-mark` obsoleteStefan Kangas2023-08-062-18/+18
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-section-mark, lm-code-mark) (lm-commentary-mark, lm-history-mark): Mark Emacs 21 compatibility aliases obsolete. Update all callers to use the new name.
* | | Merge remote-tracking branch 'origin/master' into feature/androidPo Lu2023-08-061-1/+3
|\| |
| * | Merge from origin/emacs-29Jim Porter2023-08-051-1/+3
| |\| | | | | | | | | | 1e8322bb26e Fix handling of 'byte-compile-ignore-files' when nil
| | * Fix handling of 'byte-compile-ignore-files' when nilJim Porter2023-08-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Before this fix, when 'byte-compile-ignore-files' was nil, 'byte-recompile-directory' would ignore every file (bug#64985). * lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Handle case when 'byte-compile-ignore-files' is nil.
* | | Merge remote-tracking branch 'origin/master' into feature/androidPo Lu2023-08-061-1/+2
|\| |
| * | Merge from origin/emacs-29Michael Albinus2023-08-051-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | f2b2c752a59 Fix documentation of saveplace facilities for Dired 4ed9d61c89a ; * lisp/tab-bar.el: Autoload cl--set-substring, as that ... 30976ecd8d8 ; * lisp/bindings.el (mode-line-modes): Fix typo (bug#650... 8574ef314c4 Fix loaddef generation with ";;;foo-autoload" cookies in ... 8cbd4a02a2b Delete comment saying that project.el is experimental
| | * Fix loaddef generation with ";;;foo-autoload" cookies in external packagesJim Porter2023-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This caused an issue where package-specific autoload cookies weren't being correctly recognized, so they got dumped into the package's main "<pkg>-autoloads.el" file, instead of "<pkg>-loaddefs.el" as they should (bug#65023). * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--parse-file): Save match data when checking syntax.