summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Autoload entry point testcover-startMark Oteiza2016-10-051-0/+1
| | | | | | | | | | * lisp/emacs-lisp/testcover.el: Add autoload cookie for testcover-start.
* | New user option 'debugger-stack-frame-as-list'Vasilij Schneidermann2016-09-302-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/eval.c (syms_of_eval) <debugger-stack-frame-as-list>: New variable. * lisp/cus-start.el (standard): Add debugger-stack-frame-as-list. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * lisp/emacs-lisp/edebug.el (edebug-backtrace): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * doc/lispref/debugging.texi (Internals of Debugger): Document debugger-stack-frame-as-list. * etc/NEWS: Mention 'debugger-stack-frame-as-list'.
* | Merge from origin/emacs-25Paul Eggert2016-09-263-12/+38
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ffc9ce Update admin/authors.el 0ad7410 Update Antinews in ELisp manual ea0f750 Fix comments on window height macros 0bbdeed Fix 'url-http-create-request' when cookies are used 0045998 Fix cross reference in frames.texi 1392894 ; * etc/DEBUG: Minor copyedits. 304a5c8 ; * etc/DEBUG: Improve documentation of getting control to GDB. 56bf7d7 Fix regexp-opt documentation (bug #17862) 803ad6f ; Fix documentation of seq-subseq ed4530d * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in doc... 88ea396 ; Spelling fixes 17197d0 Fix tags-query-replace docstring 80a7f8b Clarify documentation of precision in format specs 88a5052 Improve and clarify documentation of subprocesses 89eb09f * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247). # Conflicts: # etc/PROBLEMS # src/process.c
| * Fix regexp-opt documentation (bug #17862)immerrr2016-09-031-10/+36
| | | | | | | | | | * lisp/emacs-lisp/regexp-opt.el (regexp-opt): * doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.
| * ; Fix documentation of seq-subseqClément Pit--Claudel2016-09-021-1/+1
| |
| * * lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.Nicolas Richard2016-08-311-1/+1
| |
* | Improve accuracy of line/column numbers in byte compiler's warning messages.Alan Mackenzie2016-09-171-22/+26
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-set-symbol-position): ensure new value of byte-compile-last-position is not lower than old value. (byte-compile-function-warn): call byte-compile-set-symbol-position.
* | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix debug spec (Bug#24430).Johan Bockgård2016-09-141-10/+10
| |
* | * lisp/emacs-lisp/edebug.el (defun): Fix debug spec.Johan Bockgård2016-09-141-0/+1
| |
* | Stop calling ‘byte-compile-log-warning’Philipp Stephani2016-09-114-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For errors, use ‘byte-compile-report-error’ instead so that the error is registered and causes compilation to fail (Bug#24359). For warnings, use ‘byte-compile-warn’ instead so that ‘byte-compile-error-on-warn’ is honored (Bug#24360). * lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled) (macroexp--warn-and-return): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/emacs-lisp/bytecomp.el (byte-compile-form, byte-compile-unfold-bcf) (byte-compile-setq, byte-compile-funcall): Use ‘byte-compile-report-error’ instead of ‘byte-compile-log-warning’. (byte-compile-log-warning): Convert comment to documentation string. Explain that the function shouldn’t be called directly. (byte-compile-report-error): Add optional FILL argument. * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use) (cconv--analyze-function, cconv-analyze-form): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/subr.el (add-to-list): Use ‘byte-compile-report-error’ instead of ‘byte-compile-log-warning’. (do-after-load-evaluation): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’.
* | * lisp/emacs-lisp/ring.el: Use lexical-bindingSimen Heggestøyl2016-09-091-4/+5
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/ring.el (ring-elements): Don't use the RESULT argument of `dotimes' when the iteration variable isn't referred by it. (ring-member): Don't pass nil as the RESULT argument of `dotimes' since it's the default.
* | Don’t allocate char-table’s extra slots in regexp-out-charsetMichal Nazarewicz2016-09-091-1/+1
| | | | | | | | | | | | | | * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Do not use 'case-table as charmap char-table’s property. The function has nothing to do with casing and in addition using 'case-table causes unnecessary extra slots to be allocated which ‘regexp-opt-charset’ does not use.
* | Fix uses of (call-interactively) in lisp/emacs-lisp/checkdoc.elRobert Cochran2016-09-031-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing the prefix argument as the 3rd argument to 'call-interactively' causes the prefix argument to be interpreted as events, which is not only wrong, but also causes a type error, as 'current-prefix-arg' can never be a vector as 'call-interactively' expects. 'call-interactively' automatically passes its prefix argument to the called function, so just do that, eliminating faulty behavior. * lisp/emacs-lisp/checkdoc.el (checkdoc-ispell): (checkdoc-ispell-current-buffer): (checkdoc-ispell-interactive): (checkdoc-ispell-message-text): (checkdoc-ispell-start): (checkdoc-ispell-continue): (checkdoc-ispell-comments): (checkdoc-ispell-defun): Do not pass 'current-prefix-arg' to 'call-interactively' as an event vector; merely allow it to propagate forward to the interactive call.
* | Improve error when installing non-package dirsNoam Postavsky2016-08-211-0/+2
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-dir-info): Throw meaningful error when no file with package info is found (Bug #19851).
* | * lisp/emacs-lisp/map.el (map--dispatch): Fix docstringRobert Cochran2016-08-201-3/+3
| | | | | | | | | | | | The docstring referenced a non-existant parameter, as well as a parameter that has been renamed since the docstring was written. Fix both errors, fixing (Bug#24182).
* | cl-fill: Rename arguments to cl-seq and cl-itemTino Calancha2016-08-131-9/+9
| | | | | | | | | | * lisp/emacs-lisp/cl-seq.el (cl-fill): Rename arguments to 'cl-seq' and 'cl-item' as elsewhere.
* | cl-delete-duplicates: Parse :if to have cl-if boundTino Calancha2016-08-101-1/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates): We need also to parse keyword :if, otherwise cl-if is unbound. This reverts commit: 68fdbeb917b80e29e0b15506f18f7ed41d8ffdfd
* | cl-delete-duplicates: do not parse :if keywordTino Calancha2016-08-101-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl-seq.el (cl--delete-duplicates): Parse only the supported keywords.
* | * lisp/emacs-lisp/cconv.el: Fix λ-lifting in the presence of shadowingStefan Monnier2016-08-091-28/+48
| | | | | | | | | | | | | | | | | | Change the code which detects and circumvents the case where one of the variables used in λ-lifting is shadowed, so that it also works when the shadowing comes before the λ-lifted function (bug#24171). (cconv--remap-llv): New function, extracted from cconv-convert. (cconv-convert): Use it, but differently for `let' and `let*'.
* | Fix cl-assert with atomp FORM, non-nil SHOW-ARGSNoam Postavsky2016-08-061-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-assert): Don't require that FORM is a list when showing its (non-existent) arguments (Bug #18587).
* | Fix byte-compile of interactive closuresNoam Postavsky2016-08-061-2/+8
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile--reify-function): Put bindings after docstring and `interactive' form, if any (Bug #24122).
* | Fix quoted lambda warning from lexical-letNoam Postavsky2016-08-061-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl.el (cl--function-convert): Quote the inner lambda with `function', not `quote' (Bug #11357).
* | Merge from origin/emacs-25Paul Eggert2016-08-056-7/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ba51ed Document buffer-swap-text+save-excursion interaction 452aa94 Fix eieio vs cl-generic incompatibilities found in Rudel (bug... 248d5dd Include cl-generic in package--builtin-versions (bug#22817) 8f5a8b6 Improve timing in `tramp-test29-environment-variables' 05ba7a0 Add test for handling environment variables in Tramp e393d4f * lisp/emacs-lisp/package.el (describe-package-1) (package-st... 5e38887 ; * lisp/net/tramp.el: Fix 2010-10-04 comment typo. (Bug#23913) 90f2169 ; Spelling fixes 069fc05 Improve documentation of search functions 0a0144a Delete environment variables in Tramp when needed f624671 Add "New in Emacs 25" section to the FAQ 658daf9 Fix 'vertical-motion' in non-interactive sessions 686b520 Fix memory leak in imagemagick-types 4069b71 Update ELisp manual to match 'string-collate-equalp' doc string 1b2d6a6 Clarify docstring of find-feature-regexp aac62a6 Add details to cl-lib defining macros' docstrings d6aa4da Clarify doc string of 'save-buffer' 03bcf11 Un-confuse doc string of 'string-collate-equalp' c53135b Clarify documentation of 'mouse-on-link-p' # Conflicts: # lisp/emacs-lisp/eieio-core.el
| * Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)Stefan Monnier2016-07-143-3/+13
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function. * lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect mapping between cl-no-applicable-method and EIEIO's no-applicable-method. * lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3): `class' is not a symbol but a class object.
| * Include cl-generic in package--builtin-versions (bug#22817)Stefan Monnier2016-07-141-0/+5
| | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (package--builtin-versions): Add ourselves manually. Don't merge since there's a better fix on master.
| * * lisp/emacs-lisp/package.el (describe-package-1)Glenn Morris2016-07-131-4/+5
| | | | | | | | (package-status-external): Fix face references. (Bug#23927)
| * Clarify docstring of find-feature-regexpNoam Postavsky2016-07-091-1/+1
| | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s' is optional (Bug #23520).
| * Add details to cl-lib defining macros' docstringsNoam Postavsky2016-07-091-0/+29
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary of supported arglist forms (Bug #22462).
* | * cl-generic.el: Fix problems introduced by new load-history formatStefan Monnier2016-08-021-7/+19
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl--generic-load-hist-format): New function. (cl-generic-define-method, cl--generic-describe): Use it. (cl--generic-search-method): Adjust for new format. * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): * test/lisp/progmodes/elisp-mode-tests.el: Use cl--generic-load-hist-format rather than hard-coding cl-generic's internal format.
* | * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):Glenn Morris2016-08-011-1/+3
| | | | | | | | Respect autoload-timestamps for "actual autoloads are elsewhere" case.
* | Move read-multiple-choice to subr-x.elLars Ingebrigtsen2016-07-221-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/faces.el (read-multiple-choice-face): Fix doc string. * lisp/emacs-lisp/subr-x.el (read-multiple-choice): Move here from subr.el. * lisp/gnus/message.el (subr-x): Ditto. * lisp/net/nsm.el: Require subr-x for read-multiple-choice. read-multiple-choice doesn't need to be in the dumped Emacs, so move it to a less central file.
* | Better documentation for cl-reduce (bug#24014)Nicolas Petton2016-07-181-0/+10
| | | | | | | | * lisp/emacs-lisp/cl-seq.el (cl-reduce): Explain what reducing means.
* | ; Revert "Replace eldoc-documentation-function with a hook"Dmitry Gutov2016-07-181-32/+18
| | | | | | | | | | | | | | This reverts commit 5811404f0b86c9fa92c3e0b22505a9bb05f04145. It doesn't have the consensus, as evidenced by http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00138.html
* | Revert "Add a couple cells to lisp-prettify-symbols-alist"Mark Oteiza2016-07-141-4/+1
| | | | | | | | This reverts commit bdda4855c635ecf4135e23321bdba023e9ae65c9.
* | 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/cl-macs.el (cl--prog): New functionStefan Monnier2016-07-121-0/+21
| | | | | | | | (cl-prog, cl-prog*): New macros.
* | * cl-generic.el (cl-defmethod): Make docstring dynamicStefan Monnier2016-07-122-16/+47
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Make docstring dynamic. (cl--generic-make-defmethod-docstring): New function for that. (cl-defmethod, cl-generic-generalizers): Tweak docstrings accordingly. (cl-generic-define-method, cl--generic-describe): Change `load-history' format of cl-defmethods, so as not to confused methods with equal specializers but different qualifiers. * lisp/emacs-lisp/eieio-core.el (cl-generic-generalizers): Provide docstrings.
* | An efficient built-in mapcanMario Lang2016-07-102-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A built-in version of `mapcan' avoids consing up (and GC'ing) the intermediate list. * src/fns.c (Fmapcan): New built-in. (syms_of_fns): Define. * lisp/emacs-lisp/cl.el (mapcan): Remove defalias. * lisp/emacs-lisp/cl-extra.el (cl-mapcan): Use built-in `mapcan' if only one sequence is provided. * lisp/progmodes/hideif.el (hif-delimit): * lisp/dired-aux.el (dired-do-find-regexp): * lisp/woman.el (woman-parse-colon-path): Use `mapcan' instead of `cl-mapcan'. * lisp/woman.el (eval-when-compile): Require 'cl-lib only when compiling. * lisp/mouse.el (mouse-buffer-menu-map): * lisp/net/pop3.el (pop3-uidl-dele): * lisp/progmodes/gud.el (gud-jdb-build-source-files-list): * lisp/cedet/semantic/db-find.el (semanticdb-fast-strip-find-results): * lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns): * lisp/gnus/nnmail.el (nnmail-split-it): * lisp/gnus/gnus-sum.el (gnus-articles-in-thread): * lisp/gnus/gnus-registry.el (gnus-registry-sort-addresses): * lisp/gnus/gnus-util.el (gnus-mapcar): Use `mapcan'.
* | Add a couple cells to lisp-prettify-symbols-alistMark Oteiza2016-07-081-1/+4
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-prettify-symbols-alist): Add "sqrt" and "not".
* | Replace eldoc-documentation-function with a hookMark Oteiza2016-07-061-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): New hook. (eldoc-documentation-function): Make into obsolete alias. (eldoc-echo-area-use-multiline-p, eldoc-highlight-function-argument): (eldoc-argument-case, global-eldoc-mode): Update docstrings. (eldoc-print-current-symbol-info): Use run-hook-with-args-until-success on eldoc-documentation-functions. (eldoc-supported-p): New function. (eldoc-mode, global-eldoc-mode, eldoc-schedule-timer): Use eldoc-supported-p. * etc/NEWS: Mention eldoc-documentation-functions. * doc/lispref/modes.texi: Update reference.
* | ; Spelling fixesPaul Eggert2016-06-261-1/+1
| |
* | * lisp/emacs-lisp/syntax.el (syntax-propertize): Flush extended region.Stefan Monnier2016-06-221-0/+3
| |
* | Merge from origin/emacs-25Paul Eggert2016-06-192-2/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2317c61 Fix last todo-mode change 5d4d8a3 Improve last todo-mode fix d7084f2 Fix todo-mode use of minibuffer completion keymap (bug#23695). 27dec52 * src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23... f526191 * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Avoid ... e881070 * lisp/help-fns.el (describe-function-1): Avoid reporting adv... d308aa1 Minor grammar fix (bug#23746) 20de667 Doc fixes for grammar and typos (bug#23746) a67a4e5 * doc/lispref/processes.texi (Process Buffers): Minor rewordi... 27f440e Add cross-reference to ELisp manual 10802d8 ; make change-history-commit 4b2d77d * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bu... 12e009e Restore initial undo boundary with viper 291fe0a Revert "Fix viper undo breakage from undo-boundary changes" 6921f4a Fix dbus crash on 32-bit Cygwin
| * * lisp/emacs-lisp/nadvice.el (advice--make-docstring):Glenn Morris2016-06-131-1/+4
| | | | | | | | Avoid mangling autoloads with unspecified arguments. (Bug#21299)
| * * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)Stefan Monnier2016-06-111-1/+1
| | | | | | | | Don't rewrite (funcall 'f ...) to (f ...).
* | Merge from origin/emacs-25Paul Eggert2016-06-191-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ae514a * etc/AUTHORS: Update the AUTHORS file 3ca428e add entries to authors.el 66d556b Fix eldoc-related freezes in python mode d59bcbc Handle mouse leaving initial window in `mouse-set-region' (Bu... 27fe1e4 org.el: Fix bindings of < and > for calendar scrolling a813487 Fix undo boundary in recursive edit (Bug#23632) 1f85b7c Doc fixes re alist-get. (Bug#23548) ba3f206 * lisp/progmodes/python.el (inferior-python-mode): Avoid tabs... 56fa055 * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>:... 4c1370a * lisp/help-fns.el (describe-function-1): Fix handling of fil... a3f7ae8 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by". 601b9b2 * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
| * * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".Tino Calancha2016-06-071-2/+2
| |
* | * lisp/emacs-lisp/map.el (map-contains-key): Better docstringNicolas Petton2016-06-181-1/+1
| |
* | Fix seq-containsNicolas Petton2016-06-181-2/+3
| | | | | | | | | | | | | | Make sure seq-contains return the element of the sequence instead of t. * lisp/emacs-lisp/seq.el (seq-contains): Fix the function. * test/lisp/emacs-lisp/seq-tests.el: Add a regression test.
* | Add new function map-doNicolas Petton2016-06-181-1/+25
| | | | | | | | | | | | * lisp/emacs-lisp/map.el (map-do, map--do-alist, map--do-array): New functions. * test/lisp/emacs-lisp/map-tests.el: Add a unit test for map-do.