summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r--lisp/emacs-lisp/regexp-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index 894cc4c4be7..06dea3c8433 100644
--- a/lisp/emacs-lisp/regexp-opt.el
+++ b/lisp/emacs-lisp/regexp-opt.el
@@ -122,7 +122,7 @@ in REGEXP."
regexp start)
(setq count (1+ count)
;; Go back 2 chars (one for [^?] and one for [^\\]).
- start (- (match-end 0) 2))
+ start (- (match-end 0) 2)))
count)))
;;; Workhorse functions.