The function requiring 'thingatpt (`word-at-point') was introduced in commit 25b5f6e3 and the requirement was added in commit 94c5890b to fix byte-compilation, but when the function was replaced with `grep-tag-default' in commit 3e38693f, the `require' remained in place.
The only remaining user of 'thingatpt functionality is rebase-mode.el, which uses `thing-at-point' in `rebase-mode-looking-at-exec', `rebase-mode-looking-at-killed-exec' and `rebase-mode-exec'. Signed-off-by: Pieter Praet <[email protected]> --- magit.el | 1 - rebase-mode.el | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 5d5fa7a..20becee 100644 --- a/magit.el +++ b/magit.el @@ -55,7 +55,6 @@ (defvar magit-version 'undefined (require 'grep) (require 'log-edit) (require 'ring) -(require 'thingatpt) (eval-when-compile (require 'ediff) diff --git a/rebase-mode.el b/rebase-mode.el index 8865f4d..b9700b1 100644 --- a/rebase-mode.el +++ b/rebase-mode.el @@ -33,6 +33,7 @@ (require 'rx) (require 'server) (declare-function server-edit "server") +(require 'thingatpt) (defgroup rebase-mode nil "Customize Rebase Mode" -- 1.7.11.1 -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
