diff options
| author | Simeon Simeonov | 2023-09-25 09:17:11 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2023-09-25 09:17:11 +0200 |
| commit | 83718bb1038c175d84204ed57d5aebe380811c61 (patch) | |
| tree | 4b20655fb0fdeb7597e6d371e506c0d798fa1410 /.emacs.d/snippets/prog-mode | |
| parent | 0293defdea75407b6e11b3ebef3bc0d49fac9a58 (diff) | |
Update yasnippet .yas-setup.el
Diffstat (limited to '.emacs.d/snippets/prog-mode')
| -rw-r--r-- | .emacs.d/snippets/prog-mode/.yas-setup.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.emacs.d/snippets/prog-mode/.yas-setup.el b/.emacs.d/snippets/prog-mode/.yas-setup.el index 22a8168..486ae47 100644 --- a/.emacs.d/snippets/prog-mode/.yas-setup.el +++ b/.emacs.d/snippets/prog-mode/.yas-setup.el | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | (require 'yasnippet) | 1 | (require 'yasnippet) |
| 2 | 2 | ||
| 3 | (defun yas-with-comment (str) | ||
| 4 | (format "%s%s%s" comment-start str comment-end)) | ||
| 5 | |||
| 6 | ;; whitespace removing functions from Magnar Sveen ;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 3 | ;; whitespace removing functions from Magnar Sveen ;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 7 | (defun yas-s-trim-left (s) | 4 | (defun yas-s-trim-left (s) |
| 8 | "Remove whitespace at the beginning of S." | 5 | "Remove whitespace at the beginning of S." |
