mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix remaining byte-compile warnings in loaddefs.el
* lisp/progmodes/compile.el (compilation--default-buffer-name): * lisp/kmacro.el (kmacro-name-last-macro): * lisp/emacs-lisp/package.el (package--activate-all): Autoload to avoid byte-compilation warnings when byte-compiling loaddefs.el.
This commit is contained in:
parent
e8d198a00a
commit
9c5d8d59cf
3 changed files with 3 additions and 0 deletions
|
|
@ -1663,6 +1663,7 @@ The variable `package-load-list' controls which packages to load."
|
|||
(require 'package)
|
||||
(package--activate-all)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun package--activate-all ()
|
||||
(dolist (elt (package--alist))
|
||||
(condition-case err
|
||||
|
|
|
|||
|
|
@ -920,6 +920,7 @@ The ARG parameter is unused."
|
|||
(vectorp f) ;FIXME: Deprecated.
|
||||
(kmacro-p f)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun kmacro-name-last-macro (symbol)
|
||||
"Assign a name to the last keyboard macro defined.
|
||||
Argument SYMBOL is the name to define.
|
||||
|
|
|
|||
|
|
@ -1792,6 +1792,7 @@ Otherwise, construct a buffer name from NAME-OF-MODE."
|
|||
#'compilation--default-buffer-name)
|
||||
name-of-mode))
|
||||
|
||||
;;;###autoload
|
||||
(defun compilation--default-buffer-name (name-of-mode)
|
||||
(cond ((or (eq major-mode (intern-soft name-of-mode))
|
||||
(eq major-mode (intern-soft (concat name-of-mode "-mode"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue