(byte-compile-eval): Adjust to changes in load-history
The `function-history` patch introduced a regression which caused spurious compiler warnings. Fix it. The new code also fixes a bug in the old code, thus causing some new non-spurious warnings. Fix them as well. * lisp/emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to changes in `load-history`. * lisp/gnus/gnus-group.el (nnrss-discover-feed) (nnrss-save-server-data): Use `declare-function`. * lisp/cedet/semantic/wisent/comp.el (wisent-defcontext) (wisent-with-context): * lisp/emacs-lisp/comp.el (comp-op-case): Silence compiler warning.
This commit is contained in:
parent
be2566eeab
commit
cce477cad7
4 changed files with 17 additions and 21 deletions
|
@ -3135,9 +3135,9 @@ If SOLID (the prefix), create a solid group."
|
|||
(if (derived-mode-p 'gnus-summary-mode) 'summary 'group))))))
|
||||
|
||||
(defvar nnrss-group-alist)
|
||||
(eval-when-compile
|
||||
(defun nnrss-discover-feed (_arg))
|
||||
(defun nnrss-save-server-data (_arg)))
|
||||
(declare-function nnrss-discover-feed "nnrss" (url))
|
||||
(declare-function nnrss-save-server-data "nnrss" (server))
|
||||
|
||||
(defun gnus-group-make-rss-group (&optional url)
|
||||
"Given a URL, discover if there is an RSS feed.
|
||||
If there is, use Gnus to create an nnrss group"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue