Skip to content

Commit

Permalink
Revert "Fix: Obsolete buffer-substring function replaced with `buff…
Browse files Browse the repository at this point in the history
…er-subst…"
  • Loading branch information
hardaker authored Jun 29, 2024
1 parent 0565b3a commit cd00dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcre2el.el
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ Note that this does not apply to backreferences."
(reb-do-update))

(defun rxt--toggle-flag-minibuffer (char)
(setf (buffer-substring-no-properties (minibuffer-prompt-end) (point-max))
(setf (buffer-substring (minibuffer-prompt-end) (point-max))
(rxt--toggle-flag-string (minibuffer-contents) char))
(when
(and (= (point) (minibuffer-prompt-end))
Expand Down Expand Up @@ -2493,7 +2493,7 @@ in character classes as outside them."
(let ((begin (point)))
(search-forward ")" nil 'go-to-end)
(rxt-error "Unrecognized PCRE extended construction `(*%s'"
(buffer-substring-no-properties begin (point))))))
(buffer-substring begin (point))))))

;; Parse the remainder of the subgroup
(unless shy (cl-incf rxt-subgroup-count))
Expand Down

0 comments on commit cd00dd6

Please sign in to comment.