Hi!
This patch fixes in jde-gen.el (2.4.0 branch):
- beginning-of-buffer -> (goto-char (point-min))
- assoc-ignore-case -> assoc-string

Best regards,
Przemysław Wojnowski
Index: jde-gen.el
===================================================================
--- jde-gen.el	(wersja 102)
+++ jde-gen.el	(kopia robocza)
@@ -1135,7 +1135,7 @@
   (interactive "F")
   (find-file file)
   (jde-gen-jfc-app)
-  (beginning-of-buffer)
+  (goto-char (point-min))
   (search-forward "{")
   (backward-char 1)
   (c-indent-exp)
@@ -1398,7 +1398,7 @@
 	 (read-file-name "File: ")))
   (find-file file)
   (funcall (cdr (assoc template jde-gen-buffer-templates)))
-  (beginning-of-buffer)
+  (goto-char (point-min))
   (search-forward "{")
   (backward-char 1)
   (c-indent-exp))
@@ -3606,7 +3606,7 @@
                 (save-excursion (re-search-backward "\\<.*\\="))))
            (abbrev
             (buffer-substring-no-properties abbrev-start (point)))
-           (template (assoc-ignore-case abbrev jde-gen-abbrev-templates)))
+           (template (assoc-string abbrev jde-gen-abbrev-templates t)))
       (if template
           (progn
             (delete-backward-char (length abbrev))
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to