emacs: make notmuch-search-interactive-region obsolete

`notmuch-search-interactive-region' was moved to notmuch-lib.el in
f3cba19f88 and renamed to
`notmuch-interactive-region' without making the old function
obsolete, thereby breaking user-commands which made use of it.

This commit marks the function as obsolete and makes it an alias for
the new function.
This commit is contained in:
Leo Vivier 2019-05-20 14:21:13 +02:00 committed by David Bremner
parent 97939170b3
commit 46ab6013a2

View file

@ -1017,6 +1017,11 @@ region if the region is active, or both `point' otherwise."
(list (region-beginning) (region-end)) (list (region-beginning) (region-end))
(list (point) (point)))) (list (point) (point))))
(define-obsolete-function-alias
'notmuch-search-interactive-region
'notmuch-interactive-region
"notmuch 0.29")
(provide 'notmuch-lib) (provide 'notmuch-lib)
;; Local Variables: ;; Local Variables: