summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/prog-mode/.yas-setup.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/prog-mode/.yas-setup.el')
-rw-r--r--.emacs.d/snippets/prog-mode/.yas-setup.el3
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."