aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | ; Fix recent byte-compiler warnings in dnd.elBasil L. Contovounesios2020-05-071-1/+1
| | | | | | | | | | | | * lisp/dnd.el (dnd-handle-one-url): Don't require browse-url twice in the same function. Declare non-autoloaded browse-url-handlers to silence byte-compiler.
* | Restore HTML rendering behavior of browse-url-of-buffer/file.Tassilo Horn2020-05-061-0/+7
| | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-default-handlers): Add a browser handler for HTML page file:// URLs before the generic file:// handler. (browse-url--browser): New defun.
* | Pacify buggy old GCC with a castPaul Eggert2020-05-061-1/+2
| | | | | | | | | | | | * src/bignum.h (bignum_integer): Pacify GCC 4.8.5. Problem reported by Andreas Schwab in: https://lists.gnu.org/r/emacs-devel/2020-05/msg00781.html
* | Merge from origin/emacs-27Glenn Morris2020-05-062-2/+2
|\ \ | |/ | | | | | | 76516465bf (origin/emacs-27) * doc/emacs/modes.texi (Major Modes): Fi... f8e6cd11b3 Fix docstring quoting
| * * doc/emacs/modes.texi (Major Modes): Fix quoting. (Bug#41110)Eli Zaretskii2020-05-061-1/+1
| |
| * Fix docstring quotingNoam Postavsky2020-05-051-1/+1
| | | | | | | | | | * lisp/gnus/message.el (message-sendmail-extra-arguments): Fix escaping of quotes in docstring.
* | ; Merge from origin/emacs-27Glenn Morris2020-05-060-0/+0
|\ \ | |/ | | | | | | | | | | | | | | The following commits were skipped: 1e09364d67 ; Mark Bug#29799 tests as failing since we reverted the fix de1b33f5a8 Revert "cl-loop: Calculate the array length just once" caf155c463 Revert "cl-loop: Add missing guard condition" 79e133da03 Revert "Refix conditional step clauses in cl-loop"
| * ; Mark Bug#29799 tests as failing since we reverted the fixNoam Postavsky2020-05-051-0/+2
| | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-for-as-equals-and) (cl-macs-loop-conditional-step-clauses): Set :expected-result to :failed. Don't merge to master. The mentioned reverts are a safe-for-release fix for Bug#40727.
| * Revert "cl-loop: Calculate the array length just once"Noam Postavsky2020-05-051-9/+3
| | | | | | | | Don't merge to master. This is a safe-for-release fix for Bug#40727.
| * Revert "cl-loop: Add missing guard condition"Noam Postavsky2020-05-051-25/+7
| | | | | | | | Don't merge to master. This is a safe-for-release fix for Bug#40727.
| * Revert "Refix conditional step clauses in cl-loop"Noam Postavsky2020-05-051-37/+59
| | | | | | | | Don't merge to master. This is a safe-for-release fix for Bug#40727.
* | Merge from origin/emacs-27Glenn Morris2020-05-063-26/+32
|\ \ | |/ | | | | | | | | 7be160d800 Improve "Help Summary" section in user manual f6d6ccc984 Clarify message-sendmail-extra-arguments docstring 95fde1a851 * src/editfns.c (Fformat): Small documentation fix.
| * Improve "Help Summary" section in user manualEli Zaretskii2020-05-051-23/+29
| | | | | | | | | | * doc/emacs/help.texi (Help Summary): Add cross-references to sections with details of each Help command.
| * Clarify message-sendmail-extra-arguments docstringStefan Kangas2020-05-051-2/+2
| | | | | | | | | | * lisp/gnus/message.el (message-sendmail-extra-arguments): Clarify docstring.
| * * src/editfns.c (Fformat): Small documentation fix.Philipp Stephani2020-05-051-1/+1
| |
* | ; Merge from origin/emacs-27Glenn Morris2020-05-060-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 9f5999b08d Remove calls to non-existent functions from edebug.el.
| * Remove calls to non-existent functions from edebug.el.Alan Mackenzie2020-05-041-3/+1
| | | | | | | | | | | | | | | | | | Do not merge to master. *lisp/emacs-lisp/edebug.el (edebug--display-1) (edebug-toggle-disable-breakpoint): Remove calls to edebug--overlay-breakpoints and edebug--overlay-breakpoints-removed which had been overlooked in a recent changed to edebug.
* | Merge from origin/emacs-27Glenn Morris2020-05-062-10/+27
|\ \ | |/ | | | | | | | | | | | | 4b419083f9 Honor search-upper-case 310112fdc7 Fix eww-follow-link on URLs with #target # Conflicts: # lisp/fileloop.el
| * Honor search-upper-caseDmitry Gutov2020-05-041-10/+23
| | | | | | | | | | | | | | * lisp/fileloop.el (fileloop--case-fold): Extract from existing code. Honor search-upper-case (bug#40940). (fileloop-initialize-replace, fileloop-initialize-search): Use it. Update the docstring.
| * Fix eww-follow-link on URLs with #targetBasil L. Contovounesios2020-05-041-0/+4
| | | | | | | | | | * lisp/net/eww.el (eww-display-html): Ensure shr-target-id is set as callers depend on this (bug#28441, bug#40532).
* | ; Merge from origin/emacs-27Glenn Morris2020-05-060-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: f5cb5bb828 Revert part of recent commit 85544f8ef5 (bug#40808)
| * Revert part of recent commit 85544f8ef5 (bug#40808)Juri Linkov2020-05-041-4/+3
| | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-lazy-highlight-search): Remove recent fix of lazy-highlighting of hidden matches. In emacs-27 leave only the fix for lazy-counting of hidden matches when isearch-lazy-count is non-nil. ; Do not merge to master.
* | Merge from origin/emacs-27Glenn Morris2020-05-061-4/+16
|\ \ | |/ | | | | f9fa726ced Improve doc strings of makunbound and fmakunbound
| * Improve doc strings of makunbound and fmakunboundStefan Kangas2020-05-031-4/+16
| | | | | | | | | | * src/data.c (Fmakunbound, Ffmakunbound): Improve doc strings. (Bug#41026)
* | Consult browse-url-{default-,}handlers in drag&drop.Tassilo Horn2020-05-062-18/+26
| | | | | | | | | | | | | | | | | | * lisp/dnd.el (dnd-handle-one-url): Consult `browse-url-handlers' and `browse-url-default-handlers' for a matching handler. Adapt docstring. * doc/lispref/frames.texi (Drag and Drop): Remove the docs for the deprecated alist choice of `browse-url-browser-function' and mention `browse-url-handlers' and `browse-url-default-handlers'.
* | process-file in Tramp must return exit code (Bug#41099)Michael Albinus2020-05-063-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-adb-handle-process-file): Use it. * lisp/net/tramp-sh.el (tramp-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-sh-handle-process-file): Use it. (Bug#41099) * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Adapt test.
* | Allow for custom URL handlers in browse-url.Tassilo Horn2020-05-063-39/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-handlers): New defcustom. (browse-url-default-handlers): New defvar. (browse-url): Use them. Adapt docstring. Issue a warning pointing to browse-url-handlers when browse-url-browser-function is an alist. (browse-url--mailto, browse-url--man): New functions. (browse-url--browser-defcustom-type): Add :doc that the alist usage is deprecated. (browse-url-browser-function): Remove documentation referring to the alist usage and mention browse-url-handlers. * doc/emacs/misc.texi: Document browse-url-handlers in Browse-URL node. * etc/NEWS: Mention browse-url-default-handlers and browse-url-handlers.
* | Prefer 'strong' and 'em' to 'b' and 'i' in html-modeStefan Kangas2020-05-061-3/+3
| | | | | | | | | | | | | | * lisp/textmodes/sgml-mode.el (html-face-tag-alist): Prefer inserting 'strong' and 'em' tags to 'b' and 'i' in html-mode. (Bug#41031) * lisp/textmodes/sgml-mode.el (html-mode): Update docstring to do the same.
* | Don’t assume __has_attribute in emacs-module.cPaul Eggert2020-05-051-1/+1
| | | | | | | | | | | | | | Problem reported by Glenn Morris in: https://lists.gnu.org/r/emacs-devel/2020-05/msg00724.html * src/emacs-module.c: Use HAS_ATTRIBUTE instead of assuming the compiler supports __has_attribute.
* | Try and improve the *Help* layout for things like `diff-refine`.Stefan Monnier2020-05-051-4/+4
| | | | | | | | | | * lisp/help-fns.el (describe-variable-custom-version-info): Follow the usual format of other `help-fns-describe-variable-functions`.
* | Fix typos in recent attribute.h simplificationPaul Eggert2020-05-051-4/+5
| | | | | | | | | | | | | | | | | | Problem reported by Andreas Schwab in: https://lists.gnu.org/r/emacs-devel/2020-05/msg00650.html * src/conf_post.h (HAS_ATTR_no_sanitize): Define to false in case cpp is picky, fixing a longstanding glitch here. (ATTRIBUTE_NO_SANITIZE_ADDRESS, ATTRIBUTE_NO_SANITIZE_UNDEFINED): Use HAS_ATTRIBUTE, not __has_attribute.
* | Adapt Tramp testsMichael Albinus2020-05-041-56/+62
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables): Adapt test.
* | Fix setting of INSIDE_EMACS in TrampMichael Albinus2020-05-041-1/+11
| | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file, tramp-open-shell): Set proper INSIDE_EMACS environment variable.
* | Simplify by using attribute.h macrosPaul Eggert2020-05-032-84/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute.h is partly designed for C2X forward compatibility, since C2X will add some standard attributes. Using its macros should help insulate Emacs from C2X teething problems. * src/conf_post.h: Include attribute.h. (HAS_ATTRIBUTE, HAS_FEATURE): Rename from __has_attribute and __has_feature, to avoid polluting the builtin namespace. All uses changed. (ATTRIBUTE_COLD, ATTRIBUTE_FORMAT, FALLTHROUGH, ATTRIBUTE_CONST) (ATTRIBUTE_PURE, ATTRIBUTE_UNUSED, ATTRIBUTE_MAY_ALIAS) (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE) (ATTRIBUTE_RETURNS_NONNULL): Remove, as attribute.h does this now. (NO_INLINE, EXTERNALLY_VISIBLE, ARG_NONNULL, ATTRIBUTE_UNUSED): Simplify by defining in terms of attribute.h macros. * src/systhread.h (ATTRIBUTE_WARN_UNUSED_RESULT): Remove. All uses replaced by attribute.h’s NODISCARD.
* | Update from GnulibPaul Eggert2020-05-0313-71/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2020-05-03 attribute: new module 2020-04-13 explicit_bzero: improve code style 2020-04-13 explicit_bzero: On native Windows, use SecureZeroMemory 2020-04-13 explicit_bzero: use memset_s() when available 2020-04-04 maint: remove a stray inter-word space * build-aux/config.guess, build-aux/config.sub: * build-aux/gitlog-to-changelog, build-aux/update-copyright: * doc/misc/texinfo.tex, lib/explicit_bzero.c, lib/ieee754.in.h: * lib/nstrftime.c, m4/explicit_bzero.m4, m4/gnulib-common.m4: Copy from Gnulib. * lib/attribute.h: New file, copied from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* | * lisp/emacs-lisp/eieio.el (oset, oset-default): Mark as obsoleteStefan Monnier2020-05-032-2/+6
| |
* | Use lexical-binding in check-declare.el and add testsSimen Heggestøyl2020-05-032-2/+118
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/check-declare.el: Use lexical-binding. (check-declare-warn): Silence byte compiler warning about unused lexical argument. * test/lisp/emacs-lisp/check-declare-tests.el: New file with tests for check-declare.el.
* | ; admin/notes/git-workflowGlenn Morris2020-05-031-0/+11
| | | | | | | | Mention reverting on release branch.
* | ; admin/notes/git-workflowGlenn Morris2020-05-031-12/+13
| | | | | | | | Prefer "release branch" to a specific branch that can only ever get outdated.
* | Fix calculator division truncation (bug#40892)Mattias Engdegård2020-05-031-1/+1
| | | | | | | | | | | | * lisp/calculator.el (calculator-string-to-number): Convert decimal numbers input to float, fixing a regression introduced in f248292ede. Reported by Aitor Soroa.
* | Fix initial frame resizing issue on NS (bug#40200)Alan Third2020-05-031-30/+21
| | | | | | | | | | * src/nsterm.m ([EmacsView viewDidResize:]): Don't try to determine the old size when not drawing to the buffer.
* | cc-mode: document Doxygen ‘c-doc-comment-style’ (bug#40877)Michal Nazarewicz2020-05-031-0/+5
| | | | | | | | * doc/misc/cc-mode.texi (Documentation Comments): mention Doxygen markup.
* | ; Merge from origin/emacs-27Glenn Morris2020-05-030-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: e90b7b9ef2 (origin/emacs-27) Revert "Mark breakpoints in edebug with ...
| * Revert "Mark breakpoints in edebug with highlights". This fixes bug #40992Alan Mackenzie2020-05-031-40/+1
| | | | | | | | | | | | Do not merge to master. This reverts commit e8b3a15cb6ff187ce08afcb43bd9a0b7907268ca.
* | Merge from origin/emacs-27Glenn Morris2020-05-034-45/+69
|\ \ | |/ | | | | | | | | 0a3731feef Make memq etc. examples more like they were ed25282b82 Document effect of 'search-upper-case' on replacement comm... 5a5d8a8ec0 * lisp/desktop.el (desktop-save): Doc fix. (Bug#41007)
| * Make memq etc. examples more like they werePaul Eggert2020-05-021-9/+9
| | | | | | | | | | | | | | | | | | Problem reported by Štěpán Němec in: https://lists.gnu.org/r/emacs-devel/2020-05/msg00130.html * doc/lispref/lists.texi (Sets And Lists, Association Lists): Revert examples to be more like the way they were, using self-evaluating expressions. Be more consistent about listing unspecified results.
| * Document effect of 'search-upper-case' on replacement commandsEli Zaretskii2020-05-022-21/+36
| | | | | | | | | | | | | | | | | | | | * doc/emacs/search.texi (Replacement and Lax Matches): Document the role of 'search-upper-case' in replacement commands. (Lax Search): Document the value 'not-yanks' of 'search-upper-case' where the variable itself is documented. * lisp/replace.el (query-replace-regexp, query-replace): Mention 'search-upper-case' and its effect in doc strings. (Bug#40940)
| * * lisp/desktop.el (desktop-save): Doc fix. (Bug#41007)Eli Zaretskii2020-05-011-15/+24
| |
* | ; Merge from origin/emacs-27Glenn Morris2020-05-030-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: fc8e02a4d5 (emacs-27) ; Auto-commit of loaddefs files.
| * ; Auto-commit of loaddefs files.Glenn Morris2020-05-011-18/+12
| |