summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Be more lax when picking up prefixes for loaddefsStefan Kangas2022-08-041-1/+1
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--compute-prefixes): Allow tabs and spaces before symbol name, so that "(defvar\tfoo-bar nil)" is properly picked up. Before this change, such a definition would be wrongly picked up as the symbol "nil".
| * Move autoload.el to lisp/obsolete/Lars Ingebrigtsen2022-08-041-909/+0
| |
| * Minor cleanups in autoload.el/loaddefs-gen.elLars Ingebrigtsen2022-08-043-28/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (package--builtin-versions): Adjust comments. * lisp/emacs-lisp/loaddefs-gen.el (no-update-autoloads): Moved here from autoload.el. * lisp/emacs-lisp/loaddefs-gen.el: Removed now that it's no longer used. * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file): Don't warn about soon-to-be obsolete functon.
| * Minor checkdoc.el clean upLars Ingebrigtsen2022-08-041-2/+0
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (generate-autoload-cookie): This is no longer used, so remove reference.
| * Add define-keymap to autoload-ignored-definitionsLars Ingebrigtsen2022-08-041-1/+1
| | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions): Ignore `define-keymap', too (bug#56973).
| * Add define-key-after to autoload-ignored-definitionsStefan Kangas2022-08-041-2/+4
| | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions): Add define-key-after and define-ibuffer-sorter.
| * Add more autoload-ignored-definitionsStefan Kangas2022-08-041-1/+2
| | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions): Add define-ibuffer-column.
| * Add more autoload-ignored-definitions defsLars Ingebrigtsen2022-08-041-1/+4
| | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (autoload-ignored-definitions): Add more definition forms that shouldn't trigger prefix registration (bug#56970).
| * Fix up some prefix registration problems in doc stringsLars Ingebrigtsen2022-08-041-3/+3
| | | | | | | | | | | | | | | | * lisp/uniquify.el (uniquify-buffer-name-style): * lisp/org/ob-core.el (org-src-sha): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/battery.el (battery-update-functions): Avoid triggering the `register-definition-prefixes' in doc strings (bug#56968).
| * Adjust loaddefs-generate--print-form commentsLars Ingebrigtsen2022-08-041-6/+7
| | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--print-form): Adjust doc string and comments now that make-docfile doesn't scan this.
| * Byte-compile the in-tree loaddefs.el filesLars Ingebrigtsen2022-08-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/Makefile.in (all): Add "autoloads", which now otherwise won't be done. ($(lisp)/loaddefs.el): Remove this target, since it's always done, and would then trigger a re-compilation of loaddefs.elc. * lisp/loadup.el: Load loaddefs.elc (if it exists). * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Don't include no-byte-compile cookies in the Emacs build. * src/Makefile.in ($(pdmp)): Depend on loaddefs.elc to ensure that it's built by this point. ($(etc)/DOC): Don't scan loaddefs.el for doc strings, since they are now picked up from the .elc file (bug#53024).
| * Check for mis-quoted #' in doc strings during byte-compileLars Ingebrigtsen2022-08-031-1/+1
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-style-warn): Check for mis-quoted #' in doc strings, too.
| * Fix quoting of #' in some doc stringsLars Ingebrigtsen2022-08-031-1/+1
| | | | | | | | | | | | | | * lisp/org/ox.el (org-export-to-file): * lisp/eshell/esh-arg.el (eshell-concat): * lisp/emacs-lisp/edebug.el (edebug-read-special): * lisp/dired-aux.el (dired-split): Fix quoting of #' in doc strings.
| * Remove some spurious references to XEmacsStefan Kangas2022-08-031-1/+1
| | | | | | | | | | | | * lisp/desktop.el (desktop--emacs-pid-running-p): * lisp/emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Don't mention XEmacs.
| * Avoid cl-cXXXr compat aliasesStefan Kangas2022-08-032-14/+14
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-third, cl-fourth): * lisp/emacs-lisp/cl-macs.el (cl--do-&aux, cl--do-arglist) (cl--parse-loop-clause, cl--loop-let, cl--loop-build-ands) (cl--do-proclaim, cl-defstruct): Prefer using cXXXr functions directly, instead of cl-cXXXr prefixed compat aliases.
| * Consider built-in packages to be installedMatt Armstrong2022-08-021-1/+4
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-installed-p): Check for built-in packages before initialization. (bug#56877).
| * Don't disable eldoc when doing edebugLars Ingebrigtsen2022-08-021-1/+0
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/eldoc.el (eldoc-display-message-no-interference-p): Don't disable eldoc when edebugging (bug#56459). There should be no interference in that case, because edebug messaging is done after stepping, and eldoc messaging is done after other movements.
| * Fix the bytecode incompatibility due to the change to 'narrow-to-region'.Gregory Heytings2022-08-012-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/editfns.c (narrow_to_region_internal): New function, which contains the body previously in 'Fnarrow_to_region' but accepts a third argument. (Fnarrow_to_region): Use the new function. Update the docstring. (Fwiden): Update the docstring. * src/lisp.h: Prototype of the new function. * src/xdisp.c (handle_fontified_prop): Use the new function instead of 'Fnarrow_to_region'. * src/process.c (Finternal_default_process_filter): * src/lread.c (readevalloop): Remove the third argument to 'Fnarrow_to_region'. * src/bytecode.c (exec_byte_code): * lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): * lisp/emacs-lisp/bytecomp.el: Restore the statu quo ante. * etc/NEWS: Remove the entry about the new optional argument. * doc/lispref/positions.texi (Narrowing): Update the documentation.
| * Omit some (current-time) callsPaul Eggert2022-08-012-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-write-junit-test-summary-report): * lisp/emacs-lisp/shortdoc.el (file): * lisp/find-lisp.el (find-lisp-find-dired-insert-file): * lisp/progmodes/hideif.el (hide-ifdefs): * lisp/tar-mode.el (tar-subfile-save-buffer): Prefer nil or omitted arg to (current-time) where this is better or more-efficient.
| * Allow specifying that loaddefs files shouldn't not be compiledLars Ingebrigtsen2022-07-311-2/+5
| | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--rubric): Allow specifying that we shouldn't include a no-compile cookie (bug#53024).
* | Add "send patches" note to package-vc TODO sectionPhilip Kaludercic2022-08-111-0/+2
| |
* | * package.el (describe-package-1): Add news if avaliablePhilip Kaludercic2022-08-111-1/+12
| |
* | * package.el (package--get-activatable-pkg): Prefer source packagesPhilip Kaludercic2022-08-111-4/+12
| |
* | Allow updating source packagesPhilip Kaludercic2022-08-112-5/+16
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Add new function. * lisp/emacs-lisp/package.el (package-update): Use 'package-vc-update'.
* | Ignore files in .elpaignore during byte compilationPhilip Kaludercic2022-08-112-2/+22
| | | | | | | | | | | | * package.el (package--parse-elpaignore): Add new function. (package--compile): Bind 'byte-compile-ignore-files' to the result of 'package--parse-elpaignore'.
* | * package-vc.el (package-vc-unpack): Detect TeXinfo manualsPhilip Kaludercic2022-08-111-1/+11
| |
* | Allow ignoring files during byte compilationPhilip Kaludercic2022-08-111-2/+14
| | | | | | | | | | * bytecomp.el (byte-compile-ignore-files): Add new variable. (byte-recompile-directory): Respect 'byte-compile-ignore-files'.
* | ; Require rx during byte compilationPhilip Kaludercic2022-08-111-0/+1
| |
* | Guess Git repositories from the URL headerPhilip Kaludercic2022-08-111-4/+41
| | | | | | | | | | | | | | * package-vc.el (package-vc-probable-repository-regexp): Add new user option. (package-vc-sourced-packages-list): Add new function using 'package-vc-probable-repository-regexp'. (package-vc-fetch): Use 'package-vc-sourced-packages-list'.
* | Only suggest packages with VC metadataPhilip Kaludercic2022-08-031-3/+7
| | | | | | | | | | * package-vc.el (package-vc-fetch): Filter out packages without :vc information in the interactive specification.
* | * package-vc.el (package-vc-unpack): Delete using package--delete-directoryPhilip Kaludercic2022-08-031-1/+1
| |
* | Add TODO section for package-vcPhilip Kaludercic2022-08-031-0/+12
| |
* | Have VC ignore auto generated filesPhilip Kaludercic2022-08-021-2/+13
| | | | | | | | | | * package-vc.el (package-vc-unpack): Generate autoloads and ignore have the VCS ignore them (along with package description file).
* | Assume VC data is directly usable in 'package-archive-contents'Philip Kaludercic2022-08-021-15/+3
| | | | | | | | | | * package-vc.el (package-vc-fetch): Remove string parsing and translation code.
* | * package-vc.el (vc-clone): Remove superfluous declarationPhilip Kaludercic2022-08-021-2/+0
| |
* | Extract package-fetch and related functionalityPhilip Kaludercic2022-07-312-192/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the "package kind" was renamed from "source" to "vc". * package-vc.el: (package-vc-commit): Copy from package.el (package-vc-version): Add new function (package-vc-generate-description-file): Add new function. (package-vc-unpack): Add new function. (package-vc-fetch): Copy from package.el (package-checkout): Add alias for package-vc-fetch * package.el (package-devel-dir): Remove option. The checkouts are stored in package-user-dir (package-desc): Handle (vc . VERS) version strings (package-desc-full-name): Return the plain name for vc packages (package-devel-commit): Move function to package-vc (package-load-descriptor): Refactor according to other changes (package-load-all-descriptors): Remove package-devel-dir (package-unpack): Remove vc package handling (package-generate-description-file): Remove special handling for vc packages (package-install-from-archive): Remove special handling for vc packages (package-fetch): Move function to package-vc (package-desc-status): Use "vc" instead of "source" (package--remove-hidden): Use "vc" instead of "source" (package-menu--print-info-simple): Refactor according to other changes
* | Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-07-3171-2875/+6051
|\|
| * Reduce internal rx autoloadsMattias Engdegård2022-07-311-4/+6
| | | | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx--to-expr, rx--pcase-transform): Don't autoload. (rx--pcase-macroexpander): Extract body into... (rx--pcase-expand): ...a separate function, which is autoloaded.
| * * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read): Simplify.Stefan Kangas2022-07-311-26/+20
| |
| * Fix ede byte-compile warnings in loaddefs.elLars Ingebrigtsen2022-07-311-0/+1
| | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (make-instance): * lisp/cedet/ede/auto.el (ede-add-project-autoload): Autoload functions referred to by ede/loaddefs.el.
| * Remove loaddefs debug codeLars Ingebrigtsen2022-07-311-1/+0
| | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--rubric): Remove code inadvertantly checked in.
| * Fix cl byte-compile warning in cl-loaddefs.elLars Ingebrigtsen2022-07-312-0/+4
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--optimize) (cl-struct-sequence-type, cl-struct-slot-offset): Autoload since they are referred to by code in cl-loaddefs.el.
| * Fix remaining byte-compile warnings in loaddefs.elLars Ingebrigtsen2022-07-311-0/+1
| | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation--default-buffer-name): * lisp/kmacro.el (kmacro-name-last-macro): * lisp/emacs-lisp/package.el (package--activate-all): Autoload to avoid byte-compilation warnings when byte-compiling loaddefs.el.
| * Fix rx.el byte-compile warning in loaddefs.elLars Ingebrigtsen2022-07-311-0/+4
| | | | | | | | | | * lisp/emacs-lisp/rx.el (rx--to-expr, rx--pcase-transform): Autoload to avoid warning when byte-compiling loaddefs.el.
| * Fix further package.el loaddefs byte-compile warningsLars Ingebrigtsen2022-07-311-0/+3
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-directory-list) (package-quickstart-file): Specify group to avoid warning when byte-compiling loaddefs.el. (package-activated-list): Autoload since we're assigning the variable from a function completely autoloaded.
| * Fix loaddefs byte-compile warning from package.elLars Ingebrigtsen2022-07-311-0/+1
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-user-dir): :group has to be explicit for autoloaded defcustoms.
| * Delete redisplay-end-trigger-functions and related defunsStefan Kangas2022-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable and related functions have been obsolete since 23.1. The last things to depend on this (fast-lock.el and lazy-lock.el) were recently removed. * src/dispextern.h (struct it): Delete field 'redisplay_end_trigger_charpos'. * src/window.c (Fwindow_redisplay_end_trigger) (Fset_window_redisplay_end_trigger): Delete defuns and corresponding defsubrs for functions obsolete since 23.1. * src/window.h (wset_redisplay_end_trigger): Delete function. (GCALIGNED_STRUCT): Delete 'redisplay_end_trigger'. * src/xdisp.c (run_redisplay_end_trigger_hook): Delete function. (syms_of_xdisp) <redisplay_end_trigger_functions>: Delete variable obsolete since 23.1. (init_iterator, next_element_from_buffer): Don't run or set above deleted hook variable. * lisp/subr.el: Delete obsoletion definitions for above deleted defuns and variable. * doc/lispref/hooks.texi (Standard Hooks): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): * lisp/loadhist.el (unload-feature-special-hooks): Don't mention above deleted variable. * admin/coccinelle/window.cocci: Adjust for above changes.
| * Fix native compiler handling of narrow-to-regionGerd Möllmann2022-07-301-5/+1
| | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Use auto for byte-narrow-to-region.
| * Tweak icons.el emoji detectionLars Ingebrigtsen2022-07-301-1/+1
| | | | | | | | | | | | * lisp/emacs-lisp/icons.el (icons--create): Choose another character that's unlikely to appear in non-Emoji fonts. (Comment left in place since this should be fixed in a less breakable way.)
| * ; * lisp/emacs-lisp/icons.el (icon-preference): repair typeMattias Engdegård2022-07-301-4/+4
| |