1. 24 Mar, 2020 4 commits
  2. 23 Mar, 2020 14 commits
    • Noam Postavsky's avatar
      Make cl-concatenate an alias of seq-concatenate · 78f76fe1
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use defalias instead
      of apply.  This is simpler and more efficient.
      78f76fe1
    • Andrea Corallo's avatar
      73ced8c2
    • Andrea Corallo's avatar
    • Andrea Corallo's avatar
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 5d5d5d49
      Glenn Morris authored
      d66331ae (origin/emacs-27) Don't build the Gnulib 'utimens' module ...
      f2351a68 Add Harfbuzz dependency
      8944310d Don't signal during backtrace unrewind (Bug#40088)
      8709aadd Fix a couple of problems in changelog generating functions
      9ab85f08 Fix cl-concatenate (Bug#40180)
      561e9fb9 Improve documentation of project.el commands
      b28a9a6c Make svg images with links valid
      7515252c * lisp/tab-line.el (tab-line-new-button-show): New defcustom.
      
      # Conflicts:
      #	etc/NEWS
      #	nt/gnulib-cfg.mk
      5d5d5d49
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 7832e619
      Glenn Morris authored
      The following commit was skipped:
      
      d801d1d8 Don't have exif bugging out on short strings
      7832e619
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · d5cfc4ac
      Glenn Morris authored
      bed04c50 Use correct registry name for windows-1251 charset
      1aa15293 ERC: Update maintainer address
      d5cfc4ac
    • Eli Zaretskii's avatar
      Don't build the Gnulib 'utimens' module on MinGW · d66331ae
      Eli Zaretskii authored
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_utimens): Omit the
      'utimens' module in the MinGW build: 'utimens' is not used by
      Emacs, and 'fdutimens' is implemented in w32.c.
      d66331ae
    • Phillip Lord's avatar
      Add Harfbuzz dependency · f2351a68
      Phillip Lord authored
      * admin/nt/dist-build/build-dep-zips.py: Add harfbuzz as a dependency.
      f2351a68
    • Noam Postavsky's avatar
      Don't signal during backtrace unrewind (Bug#40088) · 8944310d
      Noam Postavsky authored
      backtrace_eval_unrewind is used to temporarily reverse
      let-bindings (it's called with a positive argument to reverse
      bindings, and then a negative argument to re-apply them) by
      backtrace--locals and backtrace-eval.  For the SPECPDL_LET_DEFAULT and
      SPECPDL_LET_LOCAL cases (which occur for let-bindings on buffer-local
      variables), the code calls Fdefault_value and Fbuffer_local_value on
      the symbol.
      
      For symbols which are unbound at top-level, the first (with positive
      argument) call to backtrace_eval_unrewind will set the symbol's value
      to unbound (putting the current value in the specpdl's "old value"
      slot).  On the second (with negative argument) call,
      backtrace_eval_unrewind attempts to retrieve the symbol's value with
      Fdefault_value or Fbuffer_local_value, but that raises a void-variable
      signal.  This interrupts the restoration of the let-bindings, so any
      other variables more recent on the stack will now have the wrong
      value.
      
      * src/data.c (default_value): Make non-static.
      * src/lisp.h: Declare it.
      * src/eval.c (backtrace_eval_unrewind): Replace the calls to
      Fdefault_value and Fbuffer_local_value with default_value and
      buffer_local_value, respectively.  The latter do exactly the same as
      the former, except if the symbol's value is Qunbound they just return
      it instead of signaling void-variable.
      8944310d
    • Noam Postavsky's avatar
      Fix a couple of problems in changelog generating functions · 8709aadd
      Noam Postavsky authored
      * lisp/vc/diff-mode.el (diff-add-log-current-defuns): If there is a
      scan-error when calling end-of-defun, go to end of hunk.  This can
      easily happen since we are calling end-of-defun on a partial code
      fragment from a diff.
      * lisp/vc/log-edit.el (log-edit-generate-changelog-from-diff): Bind
      display-buffer-overriding-action around the log-edit-show-diff call
      only.  Otherwise, it can affect, for example, debugger windows
      triggered by the diff-add-log-current-defuns call.
      8709aadd
    • Noam Postavsky's avatar
      Fix cl-concatenate (Bug#40180) · 9ab85f08
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use apply, to avoid
      adding extra nesting of args.
      * test/lisp/emacs-lisp/cl-extra-tests.el (cl-concatenate): New test.
      9ab85f08
    • Noam Postavsky's avatar
      Avoid extra "changed on disk" prompt in save-buffer (Bug#18336) · 8f694831
      Noam Postavsky authored
      * src/filelock.c (lock_file): Don't query the user if the current
      session already owns the lock.
      8f694831
    • Juri Linkov's avatar
      * lisp/dired.el (dired-mark-region): New defcustom (bug#39902) · 3b7cb5f3
      Juri Linkov authored
      * lisp/dired.el (dired-mark-if): Use dired-mark-region.
      (dired-mark): Use dired-mark-region.  Fix docstring.
      (dired-mark-files-regexp, dired-mark-files-containing-regexp)
      (dired-mark-symlinks, dired-mark-directories)
      (dired-mark-executables, dired-flag-auto-save-files)
      (dired-flag-backup-files): Mention dired-mark-region in docstring.
      
      * lisp/dired-aux.el (dired-compare-directories):
      * lisp/dired-x.el (dired-mark-unmarked-files, dired-mark-sexp):
      Mention dired-mark-region in docstring.
      3b7cb5f3
  3. 22 Mar, 2020 7 commits
  4. 21 Mar, 2020 7 commits
    • Eric Abrahamsen's avatar
    • Eli Zaretskii's avatar
      Improve documentation of project.el commands · 561e9fb9
      Eli Zaretskii authored
      * lisp/progmodes/project.el (project-find-regexp): Require 'grep'
      to be able to call 'grep-read-files'.
      (project-search, project-query-replace-regexp): Doc fixes.
      
      * doc/emacs/maintaining.texi (Projects): New section.
      * doc/emacs/emacs.texi (Top): Add "Projects" to the detailed menu.
      561e9fb9
    • Michael Albinus's avatar
      Fix Bug#40156 in Tramp · 8158337c
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): Copy to temp file
      only if FILENAME exists.  (Bug#40156)
      
      * test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test.
      8158337c
    • Stefan Kangas's avatar
      Remove more XEmacs compat code from ediff*.el · 0a22747c
      Stefan Kangas authored
      * lisp/vc/ediff-init.el (ediff-H-glyph):
      * lisp/vc/ediff-util.el (ediff-inferior-compare-regions)
      (ediff-setup-keymap):
      * lisp/vc/ediff-wind.el (ediff-control-frame-parameters)
      (ediff-prefer-iconified-control-frame)
      (ediff-setup-control-frame, ediff-xemacs-select-frame-hook): Remove
      XEmacs compat code and declare compatibility functions obsolete.
      
      * lisp/vc/ediff-init.el (ediff-temp-file-prefix): Redefine as
      obsolete variable alias for 'temporary-file-directory'.
      * lisp/vc/ediff-util.el (ediff-make-temp-file): Don't use obsolete
      variable name.
      0a22747c
    • Stefan Kangas's avatar
      Remove obsolete XEmacs comment · 271f9a6a
      Stefan Kangas authored
      * lisp/emacs-lisp/edebug.el (edebug--display-1): Remove comment
      regarding an XEmacs exclusive variable.
      271f9a6a
    • Stefan Kangas's avatar
      Declare some <package>-version variables obsolete · c1772ce2
      Stefan Kangas authored
      These are not used for anything these days and can therefore be
      removed.  Package developers should check the Emacs version instead.
      Ref: https://lists.gnu.org/r/emacs-devel/2020-03/msg00080.html
      
      * lisp/calendar/icalendar.el (icalendar-version):
      * lisp/dframe.el (dframe-version):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-version):
      * lisp/emulation/edt.el (edt-version):
      * lisp/international/mule.el (mule-version)
      (mule-version-date):
      * lisp/linum.el (linum-version):
      * lisp/play/bubbles.el (bubbles-version):
      * lisp/speedbar.el (speedbar-version):
      * lisp/textmodes/remember.el (remember-version):
      * lisp/url/url-vars.el (url-version):
      * lisp/woman.el (woman-version): Declare obsolete.
      
      * lisp/emacs-lisp/checkdoc.el (checkdoc-start-section):
      * lisp/speedbar.el (speedbar-mode):
      * lisp/url/url-about.el (url-about-protocols):
      * lisp/url/url-http.el (url-http--user-agent-default-string):
      * lisp/url/url-news.el (url-news-fetch-message-id):
      * lisp/woman.el (woman-menu, woman-mode): Stop using variables
      declared obsolete above.
      c1772ce2
    • Stefan Kangas's avatar
      Add "Old-" prefix to "Version" header in some cases · 84548f8d
      Stefan Kangas authored
      These version numbers are historical accidents and not relevant today.
      Ref: https://lists.gnu.org/r/emacs-devel/2020-03/msg00080.html
      
      * lisp/calendar/icalendar.el:
      * lisp/emacs-lisp/checkdoc.el:
      * lisp/hippie-exp.el:
      * lisp/linum.el:
      * lisp/master.el:
      * lisp/progmodes/cwarn.el:
      * lisp/repeat.el:
      * lisp/ruler-mode.el:
      * lisp/textmodes/remember.el:
      * lisp/wdired.el:
      * lisp/woman.el: Change "Version" header to "Old-Version".
      84548f8d
  5. 20 Mar, 2020 2 commits
  6. 19 Mar, 2020 6 commits