1. 15 Apr, 2019 1 commit
    • Paul Eggert's avatar
      Replace executable’s fingerprint in place · 5c2f94a1
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add memmem-simple.
      (AVOIDED_MODULES): Add memchr.
      * configure.ac (HAVE_PDUMPER): AC_SUBST it, too, for use in makefiles.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/fingerprint.c: New file.
      * lib/memmem.c, lib/str-two-way.h, m4/memmem.m4: New files,
      copied from Gnulib.
      * lib/fingerprint.h: Rename from src/fingerprint.h.
      * lib-src/make-fingerprint.c: Include limits.h, sys/stat.h,
      fingerprint.h, intprops.h, min-max.h.
      (SSIZE_MAX): New macro, if not already defined.
      (main): Without -r, Replace the fingerprint in the input file
      instead of generating a fingerprint.c.
      * lib/Makefile.in (libgnu_a_OBJECTS): Add fingerprint.o.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      New macros.
      (temacs$(EXEEXT)): Use them to replace the fingerprint instead
      of precalculating it.
      (mostlyclean, ctagsfiles1): Do not worry about fingerprint.c.
  2. 14 Apr, 2019 12 commits
  3. 13 Apr, 2019 15 commits
  4. 12 Apr, 2019 12 commits
    • Dmitry Gutov's avatar
      Add :array-type option to json-parse-string · b41c1ca1
      Dmitry Gutov authored
      * src/json.c (enum json_array_type): New type.
      (struct json_configuration): New field array_type.
      (json_parse_args): Rename the last argument.  Handle the
      :array-type keyword argument (bug#32793).
      (Fjson_parse_string): Update the docstring accordingly.
      (json_to_lisp): Handle the case of :array-type being `list'.  Add
      a call to 'rarely_quit' inside the loop.
      (syms_of_json): Define new symbols.
      (Fjson_serialize, Fjson_insert, Fjson_parse_string)
      (Fjson_parse_buffer): Update the config struct initializers.
    • Alan Mackenzie's avatar
      Analyze C++ method with & or && ref-qualifier as defun, not brace list · cc80eeb4
      Alan Mackenzie authored
      Also firm up detection of beginning of brace list in
      * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): On
      detection of such a ref-qualifier, set braceassignp to nil.  When this
      variable has a nil value, return nil as the value of the function.  On
      encountering a } when scanning backwards, recognise this as the end of a
      previous construct and stop the scan.
    • Stefan Monnier's avatar
      * lisp/help-fns.el (help-fns-describe-variable-functions): New hook · 896e5802
      Stefan Monnier authored
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete)
      (help-fns--interactive-only): Indent output by 2 spaces.
      (help-fns--side-effects): New function extracted from
      (help-fns-describe-function-functions): Use it.
      (help-fns--first-release, help-fns--mention-first-release): New functions.
      (help-fns-function-description-header): Keymaps and macros can't
      be interactive.
      (help-fns--ensure-empty-line): New function.
      (describe-function-1): Use it.
      (help-fns--var-safe-local, help-fns--var-risky)
      (help-fns--var-ignored-local, help-fns--var-file-local)
      (help-fns--var-watchpoints, help-fns--var-obsolete)
      (help-fns--var-alias, help-fns--var-bufferlocal): New functions,
      extacted from describe-variable.
      (describe-variable): Run help-fns-describe-variable-functions instead.
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 2bc2a3ec
      Glenn Morris authored
      The following commit was skipped:
      fd1b34bf (origin/emacs-26) Bump Emacs version to 26.2
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · a25f4d6e
      Glenn Morris authored
      818a68b1 * etc/HISTORY: Update for Emacs 26.2 release.
      e04aa5af ; ChangeLog.3 update
      8297e97f * etc/AUTHORS: Update.
      85829363 Improve documentation of 'read-command'
      dc81c051 ; * CONTRIBUTE: Mention where to ask for the copyright assign...
      b77723a5 Fix an outdated URL in a comment
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · d4b90e59
      Glenn Morris authored
      The following commits were skipped:
      71be83ef Backport: Fix comment-empty-lines docstring (bug#35152)
      559f64a0 Backport: Update documentation for indent-relative functions
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · fe6e5af4
      Glenn Morris authored
      cb5a3408 Update nxml-mode.texi: completion now gives xmlns="-!-"
    • Basil L. Contovounesios's avatar
      Move proper-list-p tests to fns-tests.el · 0c4c96d7
      Basil L. Contovounesios authored
      This follows the move of proper-list-p from lisp/subr.el to
      src/fns.c in 2018-07-24T15:58:46-07:00!eggert@cs.ucla.edu.
      * test/lisp/subr-tests.el (subr-tests--proper-list-p): Move from
      * test/src/fns-tests.el (test-proper-list-p): ...to here.
    • Basil L. Contovounesios's avatar
      Optimize byte-compilation of proper-list-p · 9a54e70c
      Basil L. Contovounesios authored
      For discussion, see thread starting at:
      * lisp/emacs-lisp/byte-opt.el: Optimize proper-list-p as a
      * lisp/subr.el: Mark proper-list-p as pure, and side-effect and
      error free.
    • Alex Murray's avatar
      Pop to originating erc buffer when clicking desktop notification · 6dc4c722
      Alex Murray authored
      * lisp/erc/erc-desktop-notifications.el: Switch to lexical-binding.
      (erc-notifications-notify): Add a default action to the desktop
      notification which pops to the buffer from which the notification
      originated.  (Bug#35141)
      Copyright-paperwork-exempt: yes
    • Basil L. Contovounesios's avatar
      Always set gnus-group property to a group name · 2b82c829
      Basil L. Contovounesios authored
      * lisp/gnus/gnus-group.el (gnus-group-prepare-flat-list-dead): Set
      gnus-group property to a group name, not active info. (bug#33653)
      Simplify surrounding logic.
      (gnus-group-prepare-flat, gnus-group-goto-group): Use accessor
      (gnus-group-insert-group-line, gnus-group-new-mail)
      (gnus-group-mark-group): Write ?\s instead of ? .
      (gnus-group-group-name, gnus-group-list-active): Simplify.
    • Stefan Monnier's avatar
      * lisp/vc/diff-mode.el: Avoid re-initializing buffer in diff-syntax · bd6a19cc
      Stefan Monnier authored
      (diff--syntax-file-attributes): New var.
      (diff-syntax-fontify-hunk): Detect when we're reusing the same buffer as
      last time, to avoid re-initializing it.  Skip the
      diff-syntax-fontify-revisions hash-table, since buffer-alist plays the
      same role.
      (diff-syntax-fontify-revisions): Delete var.