From a6860c56aa9fa1c5d2e8feb621d447f4365f1971 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 26 May 2016 13:38:28 -0700 Subject: [PATCH] Pacify 'make check-declare' --- lisp/emacs-lisp/package.el | 2 +- lisp/progmodes/js.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4e3dab4bb38..540a0e90273 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -303,7 +303,7 @@ contrast, `package-user-dir' contains packages for personal use." :version "24.1") (declare-function epg-find-configuration "epg-config" - (protocol &optional force)) + (protocol &optional no-cache program-alist)) (defcustom package-check-signature (if (and (require 'epg-config) diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 40f60c9277a..5d5d101835a 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -62,7 +62,7 @@ (defvar moz-repl-name) (defvar ido-cur-list) (defvar electric-layout-rules) -(declare-function ido-mode "ido" (arg)) +(declare-function ido-mode "ido" (&optional arg)) (declare-function inferior-moz-process "ext:mozrepl" ()) ;;; Constants -- 2.39.2