redguardtoo / emacs.d

Fast and robust Emacs setup.
http://blog.binchen.org
GNU General Public License v3.0
2.39k stars 619 forks source link

fix my-extended-regexp #1007

Closed BlacAmDK closed 1 year ago

BlacAmDK commented 1 year ago

Reproduction steps

Open swiper and search \[, it will call (my-extended-regexp "\[")

The original code will try to compile user input [ as regexp, and break the function.

redguardtoo commented 1 year ago

Thanks