File: install-package.el

package info (click to toggle)
dictionary-el 1.8.7-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 228 kB
  • ctags: 142
  • sloc: lisp: 1,249; makefile: 127; sh: 71
file content (7 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (9)
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)))))