diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 9 | ||||
-rw-r--r-- | lisp/emacs-lisp/lisp.el | 6 | ||||
-rw-r--r-- | lisp/emacs-lisp/package.el | 4 | ||||
-rw-r--r-- | lisp/emacs-lisp/subr-x.el | 2 |
4 files changed, 14 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index abfcdb347a3..d6c43ecf462 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -286,8 +286,12 @@ The return value is undefined. ;; Redefined in byte-opt.el. -;; This is not documented--it's not clear that we should promote it. -(fset 'inline 'progn) +;; This was undocumented and unused for decades. +(defalias 'inline 'progn + "Like `progn', but when compiled inline top-level function calls in body. +You don't need this. (See bytecomp.el commentary for more details.) + +\(fn BODY...)") ;;; Interface to inline functions. @@ -318,6 +322,7 @@ The return value is undefined. (defmacro defsubst (name arglist &rest body) "Define an inline function. The syntax is just like that of `defun'. + \(fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY)" (declare (debug defun) (doc-string 3)) (or (memq (get name 'byte-optimizer) diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index c54828e7b43..6952ef4cf49 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -402,7 +402,7 @@ is called as a function to find the defun's beginning." "Return non-nil if the point is in an \"emptyish\" line. This means a line that consists entirely of comments and/or whitespace." -;; See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-08/msg00141.html +;; See https://lists.gnu.org/r/help-gnu-emacs/2016-08/msg00141.html (save-excursion (forward-line 0) (< (line-end-position) @@ -525,7 +525,7 @@ the one(s) already marked." (interactive "p") (setq arg (or arg 1)) ;; There is no `mark-defun-back' function - see - ;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-11/msg00079.html + ;; https://lists.gnu.org/r/bug-gnu-emacs/2016-11/msg00079.html ;; for explanation (when (eq last-command 'mark-defun-back) (setq arg (- arg))) @@ -574,7 +574,7 @@ the one(s) already marked." (goto-char beg) (unless (= arg -1) ; beginning-of-defun behaves ; strange with zero arg - see - ; https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-02/msg00196.html + ; https://lists.gnu.org/r/bug-gnu-emacs/2017-02/msg00196.html (beginning-of-defun (1- (- arg)))) (push-mark end nil t)))))) (skip-chars-backward "[:space:]\n") diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 68ca1972d1e..61bff5cfbca 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -3397,7 +3397,9 @@ This function is called after `package-refresh-contents'." "Display a list of packages. This first fetches the updated list of packages before displaying, unless a prefix argument NO-FETCH is specified. -The list is displayed in a buffer named `*Packages*'." +The list is displayed in a buffer named `*Packages*', and +includes the package's version, availability status, and a +short description." (interactive "P") (require 'finder-inf nil t) ;; Initialize the package system if necessary. diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index 8ed29d8659d..9ff742c4331 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el @@ -28,7 +28,7 @@ ;; in subr.el. ;; Do not document these functions in the lispref. -;; https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01006.html +;; https://lists.gnu.org/r/emacs-devel/2014-01/msg01006.html ;; NB If you want to use this library, it's almost always correct to use: ;; (eval-when-compile (require 'subr-x)) |