I'm trying to get the latest python-mode.el to compile cleanly. I have this definition:
;; Skip's XE workaround (if (fboundp 'string-to-syntax) (defalias 'py-string-to-syntax string-to-syntax) (defun py-string-to-syntax (s) (cond ((equal s "|") '(15)) ((equal s "_") '(3)) (t (error "Unhandled string: %s" s)))) ) and get this output from byte-compile-file: Compiling file /Users/skip/src/python-mode/python-mode.el at Thu Jan 13 14:03:29 2011 ** attempt to inline py-string-to-syntax before it was defined ** attempt to inline py-string-to-syntax before it was defined ** attempt to inline py-string-to-syntax before it was defined ** attempt to inline py-string-to-syntax before it was defined ** attempt to inline py-string-to-syntax before it was defined While compiling toplevel forms: ** attempt to inline py-string-to-syntax before it was defined Why? Is that an error? I do get a .elc file so I sort of assume it's just a warning. Skip _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode