Skip to content

Commit

Permalink
Split text snippets into prog and fundamental
Browse files Browse the repository at this point in the history
None of the text-mode snippets were actually specific to text-mode;
fixme, todo, and xxx were for making comments, those were moved to
prog-mode. The rest are always useful, those were moved to
fundamental-mode. This allows deleting of many redundant .yas-parents
files which made text-mode a parent of various programming modes.
  • Loading branch information
npostavs committed May 31, 2014
1 parent 6214539 commit 192ccd1
Show file tree
Hide file tree
Showing 38 changed files with 7 additions and 28 deletions.
2 changes: 1 addition & 1 deletion applescript-mode/.yas-parents
@@ -1 +1 @@
text-mode
prog-mode
1 change: 0 additions & 1 deletion autoconf-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion c-mode/.yas-parents
@@ -1,2 +1 @@
cc-mode
text-mode
1 change: 0 additions & 1 deletion cmake-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion css-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion emacs-lisp-mode/.yas-parents

This file was deleted.

3 changes: 0 additions & 3 deletions text-mode/.yas-setup.el → fundamental-mode/.yas-setup.el
@@ -1,6 +1,3 @@
(defun yas-with-comment (str)
(format "%s%s%s" comment-start str comment-end))

(defun ca-all-asscs (asslist query)
"returns a list of all corresponding values (like rassoc)"
(cond
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion go-mode/.yas-parents

This file was deleted.

2 changes: 1 addition & 1 deletion groovy-mode/.yas-parents
@@ -1 +1 @@
text-mode java-mode
java-mode
1 change: 0 additions & 1 deletion haskell-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion java-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion js-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion latex-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion ledger-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion makefile-mode/.yas-parents

This file was deleted.

2 changes: 1 addition & 1 deletion ned-mode/.yas-parents
@@ -1 +1 @@
text-mode
prog-mode
2 changes: 1 addition & 1 deletion nsis-mode/.yas-parents
@@ -1 +1 @@
text-mode
prog-mode
1 change: 0 additions & 1 deletion org-mode/.yas-parents

This file was deleted.

2 changes: 2 additions & 0 deletions prog-mode/.yas-setup.el
@@ -0,0 +1,2 @@
(defun yas-with-comment (str)
(format "%s%s%s" comment-start str comment-end))
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion puppet-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion python-mode/.yas-parents

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion ruby-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion scala-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion sh-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion sql-mode/.yas-parents

This file was deleted.

1 change: 1 addition & 0 deletions text-mode/.yas-parents
@@ -0,0 +1 @@
fundamental-mode
1 change: 0 additions & 1 deletion tuareg-mode/.yas-parents

This file was deleted.

1 change: 0 additions & 1 deletion yaml-mode/.yas-parents

This file was deleted.

0 comments on commit 192ccd1

Please sign in to comment.