diff yatexpkg.el @ 353:2a72779d9c50 dev

Rewrite lambda notations to suppress annoying warnings from emacs24
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 21 Dec 2014 14:20:01 +0900
parents c7391d191cd0
children af0bd0f86b27
line wrap: on
line diff
--- a/yatexpkg.el	Sun Dec 21 13:57:27 2014 +0900
+++ b/yatexpkg.el	Sun Dec 21 14:20:01 2014 +0900
@@ -1,7 +1,7 @@
 ;;; yatexpkg.el --- YaTeX package manager
 ;;; 
 ;;; (c)2003-2014 by HIROSE, Yuuji [yuuji@yatex.org]
-;;; Last modified Thu Dec 18 18:03:48 2014 on firestorm
+;;; Last modified Sun Dec 21 14:16:14 2014 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -128,9 +128,10 @@
 	(usepkgrx (concat
 		   YaTeX-ec-regexp
 		   "\\(usepackage\\|include\\)\\b"))
-	(register '(lambda () (set-buffer cb)
+	(register (function
+		   (lambda () (set-buffer cb)
 		     (set (make-local-variable 'YaTeX-package-resolved-list)
-			  (cons macro YaTeX-package-resolved-list))))
+			  (cons macro YaTeX-package-resolved-list)))))
 	(begdoc (concat YaTeX-ec "begin{document}"))
 	pb pkg optlist (option "") mb0 uspkgargs)
     (if (or (YaTeX-member macro YaTeX-package-resolved-list)

yatex.org