public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] emacs r1143 - gentoo-syntax
@ 2008-10-29 21:28 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2008-10-29 21:28 UTC (permalink / raw
  To: gentoo-commits

Author: ulm
Date: 2008-10-29 21:27:59 +0000 (Wed, 29 Oct 2008)
New Revision: 1143

Modified:
   gentoo-syntax/ChangeLog
   gentoo-syntax/ebuild-mode-keywords.el
   gentoo-syntax/eselect-mode-keywords.el
   gentoo-syntax/gentoo-syntax.el
Log:
Move some variable definitions between files.

Modified: gentoo-syntax/ChangeLog
===================================================================
--- gentoo-syntax/ChangeLog	2008-10-29 21:23:04 UTC (rev 1142)
+++ gentoo-syntax/ChangeLog	2008-10-29 21:27:59 UTC (rev 1143)
@@ -1,3 +1,10 @@
+2008-10-29  Ulrich Mueller  <ulm@gentoo.org>
+
+	* gentoo-syntax.el (ebuild-mode-font-lock-keywords)
+	(eselect-mode-font-lock-keywords): Move definitions from
+	{ebuild,eselect}-mode-keywords.el to here to avoid warnings
+	during byte-compilation.
+
 2008-10-27  Christian Faulhammer  <opfer@gentoo.org>
 
 	* ebuild-mode-keywords.el (ebuild-mode-keywords-python): add

Modified: gentoo-syntax/ebuild-mode-keywords.el
===================================================================
--- gentoo-syntax/ebuild-mode-keywords.el	2008-10-29 21:23:04 UTC (rev 1142)
+++ gentoo-syntax/ebuild-mode-keywords.el	2008-10-29 21:27:59 UTC (rev 1143)
@@ -592,12 +592,6 @@
      "version_is_at_least" "version_compare" "version_sort")
     font-lock-type-face))
 
-(defvar ebuild-mode-font-lock-keywords
-  (mapcar
-   (lambda (x)
-     (apply 'ebuild-mode-make-keywords-list (symbol-value (intern x))))
-   (all-completions "ebuild-mode-keywords-" obarray 'boundp)))
-
 ;; Local Variables:
 ;; coding: utf-8
 ;; fill-column: 78

Modified: gentoo-syntax/eselect-mode-keywords.el
===================================================================
--- gentoo-syntax/eselect-mode-keywords.el	2008-10-29 21:23:04 UTC (rev 1142)
+++ gentoo-syntax/eselect-mode-keywords.el	2008-10-29 21:27:59 UTC (rev 1143)
@@ -52,12 +52,6 @@
   '(("is_number" "canonicalise")
     font-lock-type-face))
 
-(defvar eselect-mode-font-lock-keywords
-  (mapcar
-   (lambda (x)
-     (apply 'ebuild-mode-make-keywords-list (symbol-value (intern x))))
-   (all-completions "eselect-mode-keywords-" obarray 'boundp)))
-
 ;; Local Variables:
 ;; coding: utf-8
 ;; fill-column: 78

Modified: gentoo-syntax/gentoo-syntax.el
===================================================================
--- gentoo-syntax/gentoo-syntax.el	2008-10-29 21:23:04 UTC (rev 1142)
+++ gentoo-syntax/gentoo-syntax.el	2008-10-29 21:27:59 UTC (rev 1143)
@@ -66,6 +66,18 @@
 (load "ebuild-mode-keywords" nil t)
 (load "eselect-mode-keywords" nil t)
 
+(defvar ebuild-mode-font-lock-keywords
+  (mapcar
+   (lambda (x)
+     (apply 'ebuild-mode-make-keywords-list (symbol-value (intern x))))
+   (all-completions "ebuild-mode-keywords-" obarray 'boundp)))
+
+(defvar eselect-mode-font-lock-keywords
+  (mapcar
+   (lambda (x)
+     (apply 'ebuild-mode-make-keywords-list (symbol-value (intern x))))
+   (all-completions "eselect-mode-keywords-" obarray 'boundp)))
+
 (font-lock-add-keywords 'ebuild-mode ebuild-mode-font-lock-keywords)
 (font-lock-add-keywords 'eselect-mode eselect-mode-font-lock-keywords)
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-29 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 21:28 [gentoo-commits] emacs r1143 - gentoo-syntax Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox