aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier@gmail.com>2019-05-20 14:21:13 +0200
committerDavid Bremner <david@tethera.net>2019-05-23 14:05:05 -0300
commit46ab6013a29233b32dba49cf9c50e70fd02db1c3 (patch)
treebe22270740b2c5ab4c1ccb44ad8988973c1f11fd
parent97939170b3e8b31f88520932aa20bf1b98e469c3 (diff)
emacs: make notmuch-search-interactive-region obsolete
`notmuch-search-interactive-region' was moved to notmuch-lib.el in f3cba19f882471a396a6b6175a709ccd1f6f34a0 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.
-rw-r--r--emacs/notmuch-lib.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 7fc342a5..8acad267 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -1017,6 +1017,11 @@ region if the region is active, or both `point' otherwise."
(list (region-beginning) (region-end))
(list (point) (point))))
+(define-obsolete-function-alias
+ 'notmuch-search-interactive-region
+ 'notmuch-interactive-region
+ "notmuch 0.29")
+
(provide 'notmuch-lib)
;; Local Variables: