summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Nix some useless uses of looking-at, looking-backMark Oteiza2017-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-kill-topic): (allout-next-topic-pending-encryption): * lisp/bookmark.el (bookmark-kill-line): * lisp/cus-edit.el (custom-save-variables, custom-save-faces): * lisp/cus-theme.el (custom-theme-write-variables): (custom-theme-write-faces): * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-loop): (checkdoc-interactive-ispell-loop): (checkdoc-message-interactive-ispell-loop, checkdoc-this-string-valid): (checkdoc-this-string-valid-engine): * lisp/emacs-lisp/elint.el (elint-get-top-forms): * lisp/emulation/viper-cmd.el (viper-backward-indent): * lisp/image-dired.el (image-dired-delete-char): * lisp/simple.el (kill-visual-line): Replace instances of looking-at, looking-back with char comparisons using following-char, preceding-char.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25Paul Eggert2016-10-231-1/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ad0d7d ; Fix quoting in etc/NEWS 6b9dee1 Change Tramp version to "2.2.13.25.2" 62f2684 * lisp/emacs-lisp/autoload.el (update-directory-autoloads): F... b2f32e4 Don't scan compiled module files for autoloads 9a758b4 Fix Bug#24698 baa8ba4 * lisp/subr.el (start-process): Doc fix. (Bug#24693) e535ca4 Fix display of vc-dir CVS file statuses in subdirectories 12da149 Update URL of MS-Windows optional DLLs 2331056 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac... a4285bc * lisp/simple.el (process-menu-mode, list-processes--refresh)... b0c447e * lisp/ibuf-ext.el (ibuffer-do-shell-command-file): Fix non-f... cf3c19b * lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (B... # Conflicts: # doc/misc/trampver.texi # etc/NEWS # lisp/net/tramp-sh.el # lisp/net/trampver.el
| * * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Fix last change.Eli Zaretskii2016-10-191-2/+1
| |
| * Don't scan compiled module files for autoloadsEli Zaretskii2016-10-191-1/+7
| | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Ignore compiled module files. Make sure the extension really ends the file name.
| * * lisp/emacs-lisp/autoload.el (update-directory-autoloads):Glenn Morris2016-04-251-9/+11
| | | | | | | | | | | | Future-proof against non-time-values. ; Do not merge to master.
* | If autoloads buffer is unchanged, mark it as such (bug#23692)Stefan Monnier2016-10-111-1/+2
| | | | | | | | | | * lisp/emacs-lisp/autoload.el (update-directory-autoloads): If autoloads buffer is unchanged, mark it as such (bug#23692).
* | * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):Glenn Morris2016-08-011-1/+3
| | | | | | | | Respect autoload-timestamps for "actual autoloads are elsewhere" case.
* | Include versioned preloaded libraries in `package--builtin-versions'Chris Feng2016-07-131-20/+19
| | | | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Do not exclude preloaded libraries or remove entries generated for them. (autoload-generate-file-autoloads): Do not generate autoload statements for preloaded libraries.
* | * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Expand lessStefan Monnier2016-06-011-23/+72
| |
* | ; Spelling fixesPaul Eggert2016-05-301-1/+1
| |
* | * lisp/emacs-lisp/autoload.el: Use radix-tree.Stefan Monnier2016-05-301-54/+32
| | | | | | | | | | | | | | | | | | | | | | (autoload--make-defs-autoload): Rewrite. (autoload--split-prefixes-1): Remove. (autoload-def-prefixes-max-entries): Rename from autoload-defs-autoload-max-size. (autoload-popular-prefixes): Remove. (autoload-def-prefixes-max-length): New const. * lisp/emacs-lisp/radix-tree.el: New file.
* | * lisp/subr.el (definition-prefixes): Expand docstringStefan Monnier2016-05-271-9/+7
| | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload--split-prefixes): Remove unused function.
* | Make autoloads populate a new definition-prefixes tableStefan Monnier2016-05-251-15/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (definition-prefixes): New hash table. (register-definition-prefixes): New function. * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): New var. (autoload--split-prefixes-1, autoload--split-prefixes) (autoload--make-defs-autoload): New functions. (autoload-defs-autoload-max-size, autoload-popular-prefixes): New vars. (autoload-generate-file-autoloads): Obey autoload-compute-prefixes. (update-directory-autoloads): Don't touch loaddefs.el if the set of autoloads hasn't changed (i.e. if only the timestamp would change). * lisp/loadup.el: Purify definition-prefixes. * lisp/w32-fns.el: Keep name space clean. (w32-set-default-process-coding-system): Rename from set-default-process-coding-system. (w32-set-system-coding-system): Rename from set-w32-system-coding-system.
* | ; Spelling and quoting fixesPaul Eggert2016-05-011-1/+1
| |
* | When autoload-timestamps is nil, use a dummy timestamp rather than "t".Glenn Morris2016-04-231-10/+20
| | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload--non-timestamp): New constant. (autoload-generate-file-autoloads, autoload-find-destination) (update-directory-autoloads): Use autoload--non-timestamp.
* | Prevent bootstrap autoload backup filesPhillip Lord2016-04-201-14/+28
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress backups in newly created file. (autoload-ensure-default-file): Function split into two. (autoload-ensure-file-writeable): New function from split. (Bug#23203)
* | Merge from origin/emacs-25Paul Eggert2016-04-181-28/+14
|\| | | | | | | | | | | | | | | 32364bb substitute-command-keys keeps quotes’ text props 567ab52 * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping ... 24b87a1 Add semantic-symref-filepattern-alist entry for lisp-interact... cc0b713 Perform xref searches without visiting unopened files 5045575 Revert "Prevent bootstrap autoload backup files"
| * Revert "Prevent bootstrap autoload backup files"Phillip Lord2016-04-121-28/+14
| | | | | | | | This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
* | Merge from origin/emacs-25Paul Eggert2016-04-121-14/+28
|\| | | | | | | | | | | | | | | ca50981 Improve time zone documentation c23c965 Prevent bootstrap autoload backup files 9344612 Disable multicolor fonts on OS X since they are not supported... c41ce1c Capitalize “Universal Time” in documentation 10597c9 Don't use 'find-program'
| * Prevent bootstrap autoload backup filesPhillip Lord2016-04-121-14/+28
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress backups in newly created file. (autoload-ensure-default-file): Function split into two. (autoload-ensure-file-writeable): New function from split. (Bug#23203)
* | * lisp/emacs-lisp/autoload.el (autoload-timestamps):Glenn Morris2016-02-291-1/+1
| | | | | | | | | | | | Experiment with setting to nil. ; * etc/NEWS: Mention this.
* | * lisp/emacs-lisp/autoload.el (autoload-find-destination):Glenn Morris2016-02-291-1/+1
| | | | | | | | Fix 6-week old merge error.
* | * lisp/emacs-lisp/autoload.el (update-file-autoloads):Glenn Morris2016-02-291-0/+5
| | | | | | | | Ensure timestamps.
* | Merge from origin/emacs-25John Wiegley2016-01-111-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce4a052 Add defvar-local to lisp-imenu-generic-expression a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd 76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix. 1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination): b6b47af Properly encode/decode base64Binary data in SOAP c632466 Obey coding-system-for-write when writing stdout/stderr in batch 2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs): Update the URI of MELPA and marmalade-repo. Reported by CHENG Goa <chenggao@royau.me> in https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html. d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table): 5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit): 7380990 Remove function wrongly on AWK Mode value of context fontification hook. d400753 * src/buffer.c: Stick with ASCII in doc string. 221240c Reword transient-mark-mode doc string 977d3ea Update doc string of 'selective-display' 229c3fa Make C++ buffers writeable when writing their initial text properties. f5c762c Additional changes for "make check-expensive" 1729cf3 ; * admin/MAINTAINERS: Remove myself. 33219d3 Apply text properties for <, > in new after-change function (C++ Java Modes).
| * * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.Glenn Morris2016-01-061-1/+2
| |
| * * lisp/emacs-lisp/autoload.el (autoload-find-destination):Glenn Morris2016-01-061-1/+1
| | | | | | | | | | Avoid specifying the length of a time object (it has not been "2" for some time).
* | Merge from origin/emacs-25John Wiegley2016-01-111-1/+1
|\| | | | | | | | | | | ef33bc7 Spelling and grammar fixes 9c3dbab Fix copyright years by hand 0e96320 Update copyright year to 2016
| * Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | | | | | Run admin/update-copyright.
* | ; * lisp/emacs-lisp/autoload.el (autoload-timestamps): Doc tweak.Glenn Morris2016-01-061-1/+3
| |
* | ; * lisp/emacs-lisp/autoload.el update-directory-autoloads): Fix typo in ↵Glenn Morris2016-01-061-1/+1
| | | | | | | | previous.
* | Allow creation of loaddefs files without timestamps.Glenn Morris2016-01-061-11/+51
|/ | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable. (autoload-generate-file-autoloads, update-directory-autoloads): If autoload-timestamps is nil, write "t" instead of file timestamp. (autoload-find-destination, update-directory-autoloads): If timestamp is "t", use the modtime of the output file instead. ; * etc/NEWS: Mention this.
* add file name to autoload error messages.Stephen Leake2015-07-221-111/+124
| | | | | * lisp/emacs-lisp/autoload.el (autoload-save-buffers): add condition-case to add file name to error message.
* Improve reproducibility of generated loaddefs file.Glenn Morris2015-06-301-137/+144
| | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Make the return value the modtime of the input file (if no autoloads). (update-directory-autoloads): In the "no autoloads" section, use "most recent modtime" rather than "current time". ; http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00688.html
* Don't require help-fns when not neededPaul Eggert2015-05-201-1/+0
| | | | | | | | | * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el: * lisp/emacs-lisp/elint.el: Don't require help-fns at the top level. * lisp/emacs-lisp/advice.el (ad-arglist): * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Don't require help-fns. (Bug#17001)
* Speed up byte-compilation and autoload generation by avoiding mode-hooksArtur Malabarba2015-04-121-3/+4
| | | | | | | | | | | | This prevents emacs-lisp-mode-hook from being run everytime an autoload file is generated, which can account for a fraction of package installation time depending on the hooks the user has configured. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks. * lisp/emacs-lisp/autoload.el (autoload-find-file) (autoload-find-generated-file): Use delay-mode-hooks.
* Less 'make' chatter in batch modePaul Eggert2015-01-031-2/+3
| | | | | | | | | * admin/unidata/unidata-gen.el (unidata-gen-files): * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): * lisp/emacs-lisp/bytecomp.el (byte-compile-file): * lisp/files.el (save-buffer, basic-save-buffer): * lisp/international/quail.el (quail-update-leim-list-file): Don't output messages like "Generating ..." in batch mode.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* New macro `define-inline'.Stefan Monnier2014-12-011-6/+5
| | | | * lisp/emacs-lisp/inline.el: New file.
* Revert previous accidental commitGlenn Morris2014-11-041-34/+8
|
* Merge from emacs-24; up to 117669Glenn Morris2014-11-041-8/+34
|
* Get rid of the AUTOGEN_VCS variable in lisp/MakefileGlenn Morris2014-06-301-2/+19
| | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-ensure-writable): New variable. (autoload-ensure-default-file): Maybe make existing output writable. * lisp/Makefile.in (AUTOGEN_VCS): Remove. (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* * lisp/Makefile.in (autoloads): Do not use abs_lisp.Glenn Morris2013-10-301-0/+3
| | | | | | | This should stop recent weirdness, eg: http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00381.html * lisp/emacs-lisp/autoload.el: Comment.
* * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):Glenn Morris2013-10-301-1/+1
| | | | | | | `newline' does not respect `standard-output', so use `princ'. Otherwise you can get \n inserted in the wrong buffer, eg http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00379.html
* * lisp/emacs-lisp/autoload.el (autoload--setup-output): New function,Stefan Monnier2013-07-221-35/+30
| | | | | | | | | extracted from autoload--insert-text. (autoload--insert-text): Remove. (autoload--print-cookie-text): New function, extracted from autoload--insert-cookie-text. (autoload--insert-cookie-text): Remove. (autoload-generate-file-autoloads): Adjust calls accordingly.
* * lisp/emacs-lisp/package.el: Don't activate packages older than builtin.Stefan Monnier2013-06-151-52/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (package-obsolete-list): Rename from package-obsolete-alist, and make it into a simple list of package-desc. (package-strip-version): Remove. (package-built-in-p): Use package--builtin-versions. (package-mark-obsolete): Simplify. (package-process-define-package): Mark it obsolete if older than the builtin version. (package-handle-response): Use line-end-position. (package-read-archive-contents, package--download-one-archive): Simplify. (package--add-to-archive-contents): Skip if older than the builtin or installed version. (package-menu-describe-package): Fix last change. (package-list-unversioned): New var. (package-menu--generate): Use it. * lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions. * lisp/startup.el (package--builtin-versions): New var. (package-subdirectory-regexp): Remove. (package--description-file): Hard code its value instead. * lisp/emacs-lisp/autoload.el: Manage package--builtin-versions. (autoload--insert-text, autoload--insert-cookie-text): New functions. (autoload-builtin-package-versions): New variable. (autoload-generate-file-autoloads): Use them. Remove the list of autoloaded functions/macros from the (autoload...) comments.
* * lisp/emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.Glenn Morris2013-05-111-1/+4
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|