Mercurial > hgrepos > hgweb.cgi > yatex
diff yatexenv.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 | 9cfc505ba6aa |
children | dbef6cf84f98 |
line wrap: on
line diff
--- a/yatexenv.el Sun Dec 21 13:57:27 2014 +0900 +++ b/yatexenv.el Sun Dec 21 14:20:01 2014 +0900 @@ -1,6 +1,6 @@ ;;; yatexenv.el --- YaTeX environment-specific functions ;;; (c) 1994-2013 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Wed Nov 20 14:14:39 2013 on firestorm +;;; Last modified Sun Dec 21 13:58:31 2014 on firestorm ;;; $Id$ ;;; Code: @@ -198,10 +198,11 @@ (YaTeX-indent-line))) (mapcar - '(lambda (s) + (function + (lambda (s) (fset (intern (concat "YaTeX-intelligent-newline-" (symbol-name s))) - 'YaTeX-intelligent-newline-align)) + 'YaTeX-intelligent-newline-align))) '(align* flalign flalign* matrix pmatrix bmatrix Bmatrix vmatrix Vmatrix cases eqnarray eqnarray* alignat alignat*))