Hi Denis

On Jan 10, 2011, at 8:11 PM, Denis Washington wrote:

> Hi,
> 
> With today's git master, smalltalk-mode stopped working for me with Emacs 23 
> (void-variable smalltalk-previous-keyword). After a little investigation, I 
> found what seems to be a simple typo in today's changes to smalltalk-mode.el:
> 
> (defun* smalltalk-previous-keyword ...
> 
> (defun* smalltalk-next-keyword ...
> 
> Removing the '*' symbol from both function definitions removed the problem 
> and makes smalltalk-mode work again from me. A patch is attached.

defun* is provided by cl so I suggest this instead:
diff --git a/smalltalk-mode.el b/smalltalk-mode.el
index fc2a587..7284900 100644
--- a/smalltalk-mode.el
+++ b/smalltalk-mode.el
@@ -25,6 +25,8 @@
 ;;; Incorporates Frank Caggiano's changes for Emacs 19.
 ;;; Updates and changes for Emacs 20 and 21 by David Forster
 
+(require 'cl)
+
 ;; ===[ Variables and constants ]=====================================
 
 (defvar smalltalk-name-regexp "[A-z][A-z0-9_]*"

You can fetch it from my repository:
rev:
cdff882 https://github.com/mathk/smalltalk/commit/cdff882

Let me know if that fix the issue.


> 
> Regards,
> Denis
> <smalltalk-mode.diff>_______________________________________________
> help-smalltalk mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk

        Mathieu

__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to