emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 75/117: Declare some of the package functions to compile cleanly


From: Matthew Fidler
Subject: [elpa] 75/117: Declare some of the package functions to compile cleanly on Emacs 23
Date: Fri, 25 Jul 2014 13:24:22 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 92f90aa6aea36954c5bc368909f4288bad966901
Author: Matthew L. Fidler <address@hidden>
Date:   Sat Jul 19 13:08:30 2014 -0500

    Declare some of the package functions to compile cleanly on Emacs 23
---
 ergoemacs-menus.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ergoemacs-menus.el b/ergoemacs-menus.el
index 77fbb9d..e933ae2 100644
--- a/ergoemacs-menus.el
+++ b/ergoemacs-menus.el
@@ -661,10 +661,12 @@ All other modes are assumed to be minor modes or 
unimportant.
 (defvar tabbar-mode)
 (declare-function tabbar-install-faces "tabbar-ruler.el")
 (declare-function tabbar-mode "tabbar-mode.el")
+(declare-function package-refresh-contents "package.el")
+(declare-function package-initialize "package.el")
 (defun ergoemacs-menu-tabbar-toggle ()
   "Enables/Disables (and installs if not present) a tab-bar for emacs."
   (interactive)
-  (require 'package)
+  (require 'package nil t)
   (if (not (fboundp 'tabbar-mode))
       (let ((package-archives '(("melpa" . 
"http://melpa.milkbox.net/packages/";))))
         (require 'tabbar-ruler nil t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]