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.

Regards,
Denis
diff --git a/smalltalk-mode.el b/smalltalk-mode.el
index 0bd2711..a209db2 100644
--- a/smalltalk-mode.el
+++ b/smalltalk-mode.el
@@ -1148,7 +1148,7 @@ Whitespace is defined as spaces, tabs, and comments."
 (defun smalltalk-goto-next-keyword ()
   (goto-char (smalltalk-next-keyword)))
 
-(defun* smalltalk-previous-keyword (&key (original-point (point)))
+(defun smalltalk-previous-keyword (&key (original-point (point)))
   (smalltalk-backward-whitespace)
   (if (looking-back "[>[({.^]")
       (progn (goto-char original-point) (point))
@@ -1158,7 +1158,7 @@ Whitespace is defined as spaces, tabs, and comments."
          (prog1 (point) (goto-char original-point))
        (smalltalk-previous-keyword :original-point original-point)))))
 
-(defun* smalltalk-next-keyword (&key (original-point (point)))
+(defun smalltalk-next-keyword (&key (original-point (point)))
   (smalltalk-forward-whitespace)
   (if (looking-at "[])}.]")
       (progn (goto-char original-point) (point))
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to