File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7534,12 +7534,13 @@ have no special reader syntax.")
75347534 (goto-char (point-min))
75357535 (while (re-search-forward "\\_<\\(?:\\sw\\|\\s_\\)+\\_>" nil t)
75367536 (unless (lispy--in-string-p)
7537- (unless (string-match
7538- lispy--symbol-safe-chars-regexp
7539- (match-string 0))
7540- (let* ((bnd (lispy--bounds-dwim))
7541- (str (lispy--string-dwim bnd)))
7542- (delete-region (car bnd) (cdr bnd))
7537+ (let ((str (match-string 0))
7538+ (begin (match-beginning 0))
7539+ (end (match-end 0)))
7540+ (unless (string-match
7541+ lispy--symbol-safe-chars-regexp
7542+ str)
7543+ (delete-region begin end)
75437544 (insert (format "(ly-raw symbol %S)" str))))))
75447545 ;; Clojure (. object method)
75457546 (goto-char (point-min))
You can’t perform that action at this time.
0 commit comments