(defun pkg-find-or-make-package (name)
(if (packagep name)
(progn
- (unless (package-%name thing)
+ (unless (package-%name name)
(error "Can't do anything with deleted package: %s" name))
name)
(let* ((name (pkg-stringify-name name "package name")))
(cond ((listp thing)
(dolist (s thing)
(unless (symbolp s)
- (error "%s is not a symbol") s))
+ (error "%s is not a symbol" s)))
thing)
((symbolp thing)
(list thing))
(pkg--add-to-registry package))
;;;###autoload
-(defun export (symbols &optional package)
+(defun export (_symbols &optional package)
(setq package (pkg--package-or-default package))
(error "not yet implemented"))
;;;###autoload
-(defun unexport (symbols &optional package)
+(defun unexport (_symbols &optional package)
(setq package (pkg--package-or-default package))
(error "not yet implemented"))
(defun import (symbols &optional package)
(let ((package (pkg--package-or-default package))
(symbols (pkg--symbol-listify symbols)))
+ (list package symbols)
(error "not yet implemented")))
;;;###autoload
-(defun shadow (symbols &optional package)
+(defun shadow (_symbols &optional package)
(setq package (pkg--package-or-default package))
(error "not yet implemented"))
;;;###autoload
-(defun shadowing-import (symbols &optional package)
+(defun shadowing-import (_symbols &optional package)
(setq package (pkg--package-or-default package))
(error "not yet implemented"))
;;;###autoload
-(defun use-package (use package)
+(defun use-package (_use package)
(setq package (pkg--package-or-default package))
(cl-pushnew (package-%use-list package) package))
;;;###autoload
-(defun unuse-package (unuse package)
+(defun unuse-package (_unuse package)
(setq package (pkg--package-or-default package))
(setf (package-%use-list package)
(delq package (package-%use-list package))))