X-Git-Url: https://iankelling.org/git/?p=spray;a=blobdiff_plain;f=spray.el;h=aab9f8e1988a0e9ada1e137e70f5542ef6a97106;hp=77bff8e95214da58b6005d085e749abe666d93db;hb=55f656a88da1fe8d5259d740f72e1798c59e1752;hpb=dc31135287a8d9945ad30313d010a0a93a61a9fa diff --git a/spray.el b/spray.el index 77bff8e..aab9f8e 100644 --- a/spray.el +++ b/spray.el @@ -130,8 +130,7 @@ an integer or a float value." (spray-start/stop -1)))) (defun spray--pre-command-handler () - (unless (memq this-command - '(spray-forward-word spray-backward-word spray-start/stop)) + (unless (string-match "^spray-" (symbol-name this-command)) (spray-mode -1))) (defun spray--word-at-point ()