diff options
Diffstat (limited to 'lisp/obsolete/sregex.el')
-rw-r--r-- | lisp/obsolete/sregex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/obsolete/sregex.el b/lisp/obsolete/sregex.el index 32020d01c72..884cd3e4e45 100644 --- a/lisp/obsolete/sregex.el +++ b/lisp/obsolete/sregex.el @@ -240,7 +240,7 @@ ;;; Code: -(eval-when-compile (require 'cl)) +(eval-when-compile (require 'cl-lib)) ;; Compatibility code for when we didn't have shy-groups (defvar sregex--current-sregex nil) @@ -487,7 +487,7 @@ has one of the following forms: (concat "\\(?:" (regexp-quote exp) "\\)") (regexp-quote exp))) ((symbolp exp) - (ecase exp + (cl-ecase exp (any ".") (bol "^") (eol "$") |