File: install-package.el

package info (click to toggle)
dictionary-el 1.8.7-15
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: lisp: 1,266; makefile: 127; sh: 71
file content (7 lines) | stat: -rwxr-xr-x 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)))))