summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Use decoded time accessors in timerLars Ingebrigtsen2019-07-301-2/+5
| | | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el (run-at-time): Use decoded time accessors.
| * | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add slot option :documentationStefan Monnier2019-07-291-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | Use it to improve the docstring of the accessor functions. * doc/misc/cl.texi: Rename menu entry to "CL-Lib". (Structures): Add ':documentation' and mention ':type' as well, which we don't completely ignore any more.
| * | Make let-alist work with vectorsLars Ingebrigtsen2019-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Descend into vectors, too, looking for dotted variables (bug#23244). Test case: (let-alist '((a . 1) (b . 2)) `[,(+ .a) ,(+ .a .b .b)])
| * | ; * lisp/emacs-lisp/derived.el (define-derived-mode): Doc fix.Eli Zaretskii2019-07-281-19/+22
| | |
| * | Make URLs in package descriptions into linksLars Ingebrigtsen2019-07-281-37/+41
| | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (describe-package-1): Make the URLs in package descriptions into links (bug#23480).
| * | Make cl-values-list signal an error if its argument isn't a listLars Ingebrigtsen2019-07-281-5/+9
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-values-list): Signal an error if LIST isn't a list (bug#23597).
| * | Fix testcover.el usage of edebug.el symbolsLars Ingebrigtsen2019-07-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/testcover.el (testcover-before) (testcover-after, testcover-mark) (testcover-analyze-coverage-edebug-after): Adjust usage of `unknown' to `edebug-unknown' in testcover.el in addition to edebug.el (bug#25471).
| * | * lisp/emacs-lisp/autoload.el: Make progress info more informative.Stefan Monnier2019-07-271-1/+4
| | | | | | | | | | | | (update-directory-autoloads): Include the name of the target file.
| * | * lisp/emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Fix bug#34757Stefan Monnier2019-07-271-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix was provided by Pip Cet <pipcet@gmail.com>. It tightens the code that tries to recognize a bytecode sequence as being a simple function call (to then decompile it), which occasionally misfired. I added some minor changes found while investigating this issue. (byte-compile): Handle corner case where byte-compile-top-level returns a non-self-evaluating expression. (byte-compile-out-toplevel): Remove support for `progn` and `t` values of output-type which aren't used anywhere.
| * | Doc fix for package-menu-filterLars Ingebrigtsen2019-07-271-0/+6
| | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-filter): Document the use of arc:ARCHIVE and status:STATUS (bug#24883).
| * | edebug.el comment fixLars Ingebrigtsen2019-07-271-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/edebug.el: Fix comment referring to non-existent variable (bug#25188).
| * | Rename coverage symbols in edebug to avoid collisionsLars Ingebrigtsen2019-07-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-clear-coverage): Use edebug-unknown and edebug-ok-coverage instead of unknown and ok-coverage to avoid naming collisions with packages that use those two symbols (bug#25471). (edebug--update-coverage, edebug-display-freq-count): Ditto.
| * | define-derived-mode doc string clarificationLars Ingebrigtsen2019-07-271-3/+5
| | | | | | | | | | | | | | | * lisp/emacs-lisp/derived.el (define-derived-mode): Doc string clarification about the keywords (bug#26301).
| * | Fix ‘make check’ failurePaul Eggert2019-07-261-3/+4
| | | | | | | | | | | | | | | | | | Problem introduced in 2019-07-26T07:08:40!larsi@gnus.org. * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Don’t count "0 unexpected" as unexpected.
| * | Minor rewording of a couple of sentences in define-derived-mode docLars Ingebrigtsen2019-07-261-3/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/derived.el (define-derived-mode): Reword documentation to be less whimsical (bug#26301).
| * | Add an autoload cookie to package-upload-fileLars Ingebrigtsen2019-07-261-0/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/package-x.el (package-upload-file): Add an autoload cookie (bug#26724).
| * | Always include the number of unexpected results here tooLars Ingebrigtsen2019-07-261-4/+2
| | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-run-tests-batch): Always include the number of unexpected results here as well.
| * | Don't run gpg when loading package.elLars Ingebrigtsen2019-07-261-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-check-signature): Don't run gpg on startup, but just default to `allow-unsigned'. (package-check-signature): New function to check whether a OpenPGP configuration is found when `allow-unsigned'. (package--check-signature-content, package--check-signature) (package--download-one-archive, package-refresh-contents) (package-install-from-archive): Use function instead of variable throughout. * doc/emacs/package.texi (Package Installation): Document this.
| * | Make cl-destructuring-bind errors a bit more understandableLars Ingebrigtsen2019-07-251-2/+5
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-destructuring-bind): Make errors when giving the wrong number of arguments to the bindings form more informational (bug#29345).
* | | Improve doc strings for some -search-path variablesStephen Leake2019-07-301-3/+4
|/ / | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-search-path): Improve doc string. * lisp/progmodes/compile.el (compilation-search-path): Improve doc string. * lisp/progmodes/grep.el (grep-search-path): Improve doc string.
* | Fix inline-quote Edebug specGemini Lasswell2019-07-211-1/+1
| | | | | | | | | | * lisp/emacs-lisp/inline.el (inline-quote): Fix the edebug spec (bug#31051).
* | Merge from emacs-26Noam Postavsky2019-07-201-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 150bdfe43a Handle completely undecoded input in term (Bug#29918) 021f32cca1 * doc/misc/forms.texi (Control File Format): Fix a doc error. 76538d09b7 Fix typo in package-alist docstring b2fde4b5e8 * doc/lispref/text.texi (Mode-Specific Indent): Fix a typo... 7e62778548 ; Another minor change in 'bidi-display-reordering's doc s... 4455ddbe56 Improve doc string of 'bidi-display-reordering' 34ee26dd93 Add warning to bidi-display-reordering doc string # Conflicts: # lisp/term.el # test/lisp/term-tests.el
| * Fix typo in package-alist docstringBasil L. Contovounesios2019-07-171-2/+2
| | | | | | | | | | | | Pointed out by Michael Heerdegen <michael_heerdegen@web.de>. * lisp/emacs-lisp/package.el (package-alist): Fix docstring grammar (bug#17403).
| * Disable byte-compile-cond-use-jump-table (Bug#35770)Noam Postavsky2019-06-011-2/+2
| | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil by default. Don't merge to master, the bug is already fixed there.
* | Set revert-buffer-function in ert-results-modeMattias Engdegård2019-07-161-1/+3
| | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-results-mode): Set revert-buffer-function to re-run the same test selection. It is a good fit and permits use of the standard "g" key binding.
* | Revert "Add edebug specs for inline.el"Lars Ingebrigtsen2019-07-151-2/+0
| | | | | | | | | | | | This reverts commit ed29d9fe5286ab6ecfb2bfa5a015b9945a84512b. The edebug specs were already in the declare form, and in addition, it didn't fix the problem.
* | Tweak gv-define-setter debug settingLars Ingebrigtsen2019-07-151-1/+1
| | | | | | | | | | * lisp/emacs-lisp/gv.el (gv-define-setter): Change edebug spec from body to def-body (bug#28729).
* | package-archive-priorities doc additionLars Ingebrigtsen2019-07-151-1/+3
| | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-archive-priorities): Document that negative priorities will lead to packages not being updated (bug#28897).
* | Make elint understand condition-case-unless-debugLars Ingebrigtsen2019-07-141-0/+1
| | | | | | | | | | * lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint about `condition-case-unless-debug' (bug#29585).
* | Remove incorrect commentary about #$ in autoloadsNoam Postavsky2019-07-131-5/+0
| | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-rubric): `package-quickstart-refresh' does in fact support load-file-name as well.
* | Add edebug specs for inline.elLars Ingebrigtsen2019-07-131-0/+2
| | | | | | | | | | * lisp/emacs-lisp/inline.el (inline-quote) (inline-letevals): Add edebug specs (bug#31051).
* | Tweak output of doc in advice--make-docstringLars Ingebrigtsen2019-07-131-4/+6
| | | | | | | | | | | | * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Make the bit about the function/macro having an advice into a complete sentence (bug#31063) and make it less dramatic.
* | Make check-declare understand cl-defunLars Ingebrigtsen2019-07-131-1/+1
| | | | | | | | | | * lisp/emacs-lisp/check-declare.el (check-declare-verify): Add cl-defun to the defun-ish regexp (bug#31396).
* | Fix cl-defstruct doc string fixLars Ingebrigtsen2019-07-131-2/+0
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Remove sentence from doc string that was left in by mistake when fixing the arglist documentation.
* | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a docstring typoPhil Sainty2019-07-131-1/+1
| |
* | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring.Michael Albinus2019-07-131-3/+5
| |
* | Document fix for cl-defstructLars Ingebrigtsen2019-07-131-1/+3
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can have a doc string (bug#32340).
* | Always include the number of unexpected ert testsLars Ingebrigtsen2019-07-131-8/+2
| | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Always include the number of failed tests, because absence of the text is not reassuring (bug#36616).
* | Revert "Turn off bytecode jumptables to avoid Bug#36447"Stefan Monnier2019-07-091-2/+1
| | | | | | | | | | This reverts commit 122198d2f1aaf0b74c102874cc9b04ae4789f54f. Should not be needed any more thanks to Pip Cet's patch to hash_table_rehash.
* | Checkdoc would bug out on empty filesLars Ingebrigtsen2019-07-091-2/+8
| | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring): Don't bug out on malformed Emacs Lisp (bug#34760). (checkdoc-file-comments-engine): Don't bug out on empty buffers.
* | Fix for lisp tagbody indentationRyan Brown2019-07-091-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl-indent.el (lisp-indent-259): Indent PROG better (bug#36552).
* | Tweak messaging in re-builderLars Ingebrigtsen2019-07-091-1/+1
| | | | | | | | | | * lisp/emacs-lisp/re-builder.el (reb-copy): Say what we copied to the kill ring.
* | Turn off bytecode jumptables to avoid Bug#36447Noam Postavsky2019-07-081-1/+2
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil. We can turn this back on again when Bug#36447 is solved and we handle dumped hash tables correctly.
* | Shorter `rx' doc string (bug#36496)Mattias Engdegård2019-07-071-321/+96
| | | | | | | | | | * lisp/emacs-lisp/rx.el (rx): Replace long description with a condensed summary of the rx syntax, with reference to the manual section.
* | * lisp/emacs-lisp/nadvice.el: Make it a package separate from `emacs`.Stefan Monnier2019-07-061-1/+0
| | | | | | | | | | * lisp/finder.el (finder-compile-keywords): Grab version from package--builtin-versions when available.
* | Add commentary about #$ in autoload filesNoam Postavsky2019-07-061-2/+6
| | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-rubric): Add commentary about `#$' trick.
* | Optimise more inputs to `regexp-opt' (bug#36444)Mattias Engdegård2019-07-041-24/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a more precise test to determine whether the input to `regexp-opt' is safe to optimise when KEEP-ORDER is non-nil, permitting more inputs to be optimised than before. For example, ("good" "goal" "go") is now accepted. * lisp/emacs-lisp/regexp-opt.el (regexp-opt): More precise test for whether the list is safe w.r.t. KEEP-ORDER. (regexp-opt--contains-prefix): Remove. * test/lisp/emacs-lisp/regexp-opt-tests.el: Use lexical-binding. (regexp-opt-test--permutation, regexp-opt-test--factorial) (regexp-opt-test--permutations, regexp-opt-test--match-all) (regexp-opt-test--check-perm, regexp-opt-test--explain-perm) (regexp-opt-keep-order): Test KEEP-ORDER.
* | Better error message for C-h P RETMattias Engdegård2019-07-021-1/+1
| | | | | | | | | | | | | | | | | | Previously: package--incompatible-p: Wrong type argument: package-desc, nil Now: No package specified * lisp/emacs-lisp/package.el (describe-package): Don't use ## as input.
* | Allow empty argument to `regexp-opt-charset'Mattias Engdegård2019-06-291-8/+12
| | | | | | | | | | | | * test/lisp/emacs-lisp/regexp-opt-tests.el (regexp-opt-charset): Handle nil argument, and use regexp-quote for singletons. * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Expand tests.
* | Strength-reduce `equal', `eql', `member' and `memql'Mattias Engdegård2019-06-281-1/+34
| | | | | | | | | | | | | | | | | | When comparing against symbols, turn `equal' and `eql' into `eq', and `member' and `memql' into `memq'. * lisp/emacs-lisp/byte-opt.el (byte-optimize--constant-symbol-p) (byte-optimize-equal, byte-optimize-member): New. (member, memql, equal, eql): Use new byte-optimizers.