File: install-package.el

package info (click to toggle)
dictionary-el 1.10+git20190107-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 248 kB
  • sloc: lisp: 1,278; makefile: 112; sh: 41
file content (7 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
(defun install-package ()
  (interactive)
  (let ((filename (apply 'concat command-line-args-left)))
    (message (concat "Installing package " filename))
    (package-admin-add-binary-package filename)
    (set-buffer "*Package Output*")
    (message (buffer-substring (point-min) (point-max)))))