mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #3545: overzealous :pin truncation
This commit is contained in:
@ -251,7 +251,7 @@ verbosity when editing a file in `doom-private-dir' or `doom-emacs-dir'."
|
|||||||
(goto-char (match-beginning 0))
|
(goto-char (match-beginning 0))
|
||||||
(and (stringp (plist-get (sexp-at-point) :pin))
|
(and (stringp (plist-get (sexp-at-point) :pin))
|
||||||
(search-forward ":pin" nil t)
|
(search-forward ":pin" nil t)
|
||||||
(let ((start (re-search-forward "\"[^\"]\\{10\\}" nil t))
|
(let ((start (re-search-forward "\"[^\"\n]\\{10\\}" nil t))
|
||||||
(finish (and (re-search-forward "\"" (line-end-position) t)
|
(finish (and (re-search-forward "\"" (line-end-position) t)
|
||||||
(match-beginning 0))))
|
(match-beginning 0))))
|
||||||
(when (and start finish)
|
(when (and start finish)
|
||||||
|
Reference in New Issue
Block a user