• Dmitry Gutov's avatar
    Separate xref-find-definitions' behavior from other commands · 49a363c8
    Dmitry Gutov authored
    * lisp/progmodes/xref.el (xref-show-definitions-function):
    New variable.
    (xref--show-defs): Split off from xref--show-xrefs.
    (xref--find-definitions): Use it.
    (xref--not-found-error): New function.
    (xref--show-xrefs): Simplify.  Show the list buffer even when
    there is just one item in the list.  Remove the last argument.
    
    * lisp/dired-aux.el (dired-do-find-regexp): Update accordingly.
    49a363c8
xref.el 45.4 KB