mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-23 10:10:28 +01:00
10 lines
322 B
EmacsLisp
10 lines
322 B
EmacsLisp
|
(require 'package)
|
||
|
|
||
|
(find-file "mode-icons.el")
|
||
|
(let ((info (package-buffer-info)))
|
||
|
(with-current-buffer (get-buffer-create "pkg")
|
||
|
(insert "(define-package \"" (elt info 0) "\"\n"
|
||
|
" \"" (elt info 3) "\"\n"
|
||
|
" \"" (elt info 2) "\")")
|
||
|
(princ (buffer-string))))
|