File: install-package.el

package info (click to toggle)
dictionary-el 1.8.7-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 224 kB
  • ctags: 141
  • sloc: lisp: 1,236; makefile: 123; 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)))))