branch: externals/shift-number
commit bb14d9609fed47000b76ecc8393285abff1bb766
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Cleanup: use null instead of not
---
shift-number.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shift-number.el b/shift-number.el
index fb3eed00af..b20d83c872 100644
--- a/shift-number.el
+++ b/shift-number.el
@@ -141,7 +141,7 @@ Return the region replaced."
(let ((found nil)
(exit nil))
(goto-char limit-beg)
- (while (and (not (or exit found)) (re-search-forward regexp limit-end t))
+ (while (and (null (or exit found)) (re-search-forward regexp limit-end
t))
(cond
((> (match-beginning 0) pos)
(setq exit t))