aboutsummaryrefslogtreecommitdiff
path: root/install-package.el
blob: 5b0474e984bf66424be7d7b21d630d2db01f342e (plain) (blame)
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)))))