From 59c57337923ed515e923ea65f168e1197d376868 Mon Sep 17 00:00:00 2001 From: Nikolaos Chatzikonstantinou Date: Sun, 5 Jan 2025 08:16:06 -0500 Subject: Improve doc string of 'package-delete' * lisp/emacs-lisp/package.el (package-delete): Elaborate on the kind of argument expected by the function. (Bug#75382) --- lisp/emacs-lisp/package.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 0fc5aaac343..be3b85f3179 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2498,8 +2498,9 @@ compiled." (defun package-delete (pkg-desc &optional force nosave) "Delete package PKG-DESC. -Argument PKG-DESC is a full description of package as vector. -Interactively, prompt the user for the package name and version. +Argument PKG-DESC is the full description of the package, for example as +obtained by `package-get-descriptor'. Interactively, prompt the user +for the package name and version. When package is used elsewhere as dependency of another package, refuse deleting it and return an error. -- cgit v1.2.3 From dabaea97465163c015890272c3d5001624690e08 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 11 Jan 2025 05:05:14 +0100 Subject: Improve checkdoc-common-verbs-wrong-voice docstring * lisp/emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice): Improve docstring. --- lisp/emacs-lisp/checkdoc.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index d6e94789c07..e6c2b8306be 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -484,10 +484,10 @@ this to anything but t is likely to be counter-productive.") ("yanks" . "yank") ) "Alist of common words in the wrong voice and what should be used instead. -Set `checkdoc-verb-check-experimental-flag' to nil to avoid this costly -and experimental check. Do not modify this list without setting -the value of `checkdoc-common-verbs-regexp' to nil which cause it to -be re-created.") +Set `checkdoc-verb-check-experimental-flag' to a non-nil value to enable +this experimental check. Do not modify this list without setting the +value of `checkdoc-common-verbs-regexp' to nil, which causes it to be +re-created.") (defvar checkdoc-syntax-table (let ((st (make-syntax-table emacs-lisp-mode-syntax-table))) -- cgit v1.2.3