diff options
author | David Bremner <david@tethera.net> | 2015-07-12 22:49:08 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2015-07-12 22:49:08 +0200 |
commit | eddce391e95660a134a3c993421826de23f49ccc (patch) | |
tree | d498a27e467a6d90b629c509e56cf2b842edc0a0 /dh-elpa.el | |
parent | 321c4fb956e7bed1feb218f8266aeb45d4441a06 (diff) |
update docstrings
Diffstat (limited to 'dh-elpa.el')
-rw-r--r-- | dh-elpa.el | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -49,8 +49,7 @@ (defun dhelpa-install-from-buffer (destdir) "Install a package from the current buffer. The current buffer is assumed to be a single .el or .tar file that follows the -packaging guidelines; see info node `(elisp)Packaging'. -Downloads and installs required packages as needed." +packaging guidelines; see info node `(elisp)Packaging'." (interactive "D") (let ((pkg-desc (if (derived-mode-p 'tar-mode) (package-tar-file-info) @@ -60,14 +59,16 @@ Downloads and installs required packages as needed." ;;;###autoload (defun dhelpa-batch-install-file () - "install first command line argument (an emacs lisp file) -into second command line argument" + "Install second command line argument (an emacs lisp file or +tar file) into second command line argument (a directory)" (let ((dest (car command-line-args-left)) (el-file (cadr command-line-args-left))) (dhelpa-install-file dest el-file))) ;;;###autoload (defun dhelpa-install-file (dest el-file) + "Install second argument (an emacs lisp file or tar file) into +first command line argument (a directory)" (with-temp-buffer (insert-file-contents-literally el-file) (when (string-match "\\.tar\\'" el-file) (tar-mode)) |