Skip to content

Commit

Permalink
emacs:vino: remove typography from network candidates body
Browse files Browse the repository at this point in the history
  • Loading branch information
d12frosted committed Dec 26, 2024
1 parent 75f7e7b commit abaf79b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions emacs/lisp/lib-vino.el
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,14 @@ BUTTON should be a proper button with following properties:
(vulpea-utils-with-note note
(let* ((meta (vulpea-buffer-meta))
(pl (plist-get meta :pl)))
(s-replace-regexp
org-link-any-re
(lambda (txt) (match-string 3 txt))
(buffer-substring-no-properties
(org-element-property :end pl)
(point-max))))))
(->> (buffer-substring-no-properties
(org-element-property :end pl)
(point-max))
(s-replace-regexp
org-link-any-re
(lambda (txt) (match-string 3 txt)))
(s-replace "" " - ")
(s-replace "" "'")))))
(unfill-region pos (point))
(delete-char -1)
(insert "\n\n")
Expand Down

0 comments on commit abaf79b

Please sign in to comment.