diff --git a/emacs/init.el b/emacs/init.el index 228a0e3..882586f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -327,7 +327,7 @@ Point must be at the beginning of balanced expression (sexp)." (looking-at (rx (or "(" "{" "[")))) (defun being-past-closing-paren () - (thing-at-point-looking-at (rx (or ")" "}" "]")))) + (looking-back (rx (or ")" "}" "]")))) ;;;;; Basic (use-package smartparens