diff --git a/core/lib/defuns-yasnippet.el b/core/lib/defuns-yasnippet.el index 7d7adf056..5379a1d88 100644 --- a/core/lib/defuns-yasnippet.el +++ b/core/lib/defuns-yasnippet.el @@ -82,28 +82,6 @@ normal mode if there are no fields." (delete-region sof (point))))) ;; Snippet helpers ;;;;;;;;;;;;;;;;;;;;; -;;;###autoload -(defun !%! () - "Snippet function. Shorthand defun to surround text with newlines if more -than one line." - (when % - (if (> (length (s-lines %)) 1) - (concat "\n" % "\n") - (s-trim %)))) - -;;;###autoload -(defun !% () - "Snippet function. Shorthand defun for snippets: prepends a newline to - `yas-selected-text' IF it contains more than one line." - (when % - (if (> (length (s-lines %)) 1) - (concat "\n" %) - (s-trim %)))) -;;;###autoload -(defun %1 () - "Trim selection; do no further processing." - (s-trim %)) - ;;;###autoload (autoload 'narf:yas-snippets "defuns-yasnippet" nil t) (evil-define-command narf:yas-snippets (&optional bang) (interactive "")