1. 05 Jun, 2015 12 commits
  2. 04 Jun, 2015 10 commits
  3. 03 Jun, 2015 14 commits
  4. 02 Jun, 2015 4 commits
    • Michael Albinus's avatar
      Ensure, that autorevert works for remote files in file-notify-tests.el · 420b293c
      Michael Albinus authored
      * test/automated/file-notify-tests.el (file-notify--test-desc):
      New defvar.
      (file-notify--test-remote-enabled)
      (file-notify-test00-availability, file-notify-test01-add-watch)
      (file-notify-test02-events): Use it.
      (file-notify--test-event-test): Check proper descriptor.
      (file-notify-test03-autorevert): Ensure, that
      `visited-file-modtime' has changed.
      
      Fixes: debbugs:20392
      420b293c
    • NicolasPetton's avatar
      Add a pcase pattern for maps and `map-let' based on it · 988d7211
      NicolasPetton authored
      * lisp/emacs-lisp/map.el (map-let): New macro.
      (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
      * test/automated/map-tests.el: New test for `map-let'.
      988d7211
    • Dmitry Gutov's avatar
      Reuse rgrep mechanics in xref-find-regexp · 7f01832e
      Dmitry Gutov authored
      * lisp/progmodes/grep.el (rgrep-default-command):
      Extract from `rgrep'.
      
      * lisp/progmodes/xref.el (xref-collect-references): Split from
      `xref-collect-matches'.  Only handle the case of symbol search.
      (xref-collect-matches): Instead of Semantic Symref, use
      `rgrep-default-command', to take advantage of its directory and
      file ignore settings.
      (xref--collect-match): Remove the last argument, leaving the
      regexp construction up to the caller.
      
      * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
      Change to take the xref-collect- function to use as an argument.
      (elisp-xref-find): Update accordingly.
      
      * lisp/progmodes/etags.el (etags--xref-find-matches)
      (etags-xref-find): Same.
      7f01832e
    • Dmitry Gutov's avatar
      Move xref-elisp-location to elisp-mode.el · 64f2d346
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-elisp-location)
      (xref-make-elisp-location, xref-location-marker): Remove here.
      (xref--xref): Don't limit the type of the location slot.
      
      * lisp/progmodes/elisp-mode.el (xref-elisp-location):
      Define as a cl-struct here.
      (xref-location-marker): Move here.
      64f2d346