mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-30 05:29:52 +08:00
7d15faed65
This automated convertsion was done with the following sequence of commands: cd recipes # Replace :url with :pkgname "user/repo" perl -iBAK -lape 's{^(\s*):url\s+".*github.com/([^/]+)/([^.]+)\.git"}{$1:pkgname "$2/$3"}' *.rcp # Change :type from git to github if recipe has a :pkgname property for x in *.rcp; do if grep -q ":type.*git" $x && grep -q ":pkgname" $x; then perl -iBAK2 -lape 's/:type\s+git\b/:type github/g' $x; fi; done # Clean up backup files rm -f *BAK *BAK2 cd .. These commands may be repeated at any time in the future to convert newly-added recipes.
9 lines
363 B
Plaintext
9 lines
363 B
Plaintext
(:name n3-mode
|
|
:description "Mode for Notation 3"
|
|
:type github
|
|
:pkgname "kurtjx/n3-mode-for-emacs"
|
|
:post-init (lambda ()
|
|
(autoload 'n3-mode "n3-mode" "Major mode for OWL or N3 files" t)
|
|
(add-hook 'n3-mode-hook 'turn-on-font-lock)
|
|
(add-to-list 'auto-mode-alist '("\\.\\(n3\\|owl\\)\\'" . n3-mode))))
|