From eddce391e95660a134a3c993421826de23f49ccc Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 12 Jul 2015 22:49:08 +0200 Subject: update docstrings --- dh-elpa.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dh-elpa.el b/dh-elpa.el index ece3a9e..2f84520 100644 --- a/dh-elpa.el +++ b/dh-elpa.el @@ -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)) -- cgit v1.2.3