bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7974: lisp-do-defun on defuns with trailing comments


From: Ken Olum
Subject: bug#7974: lisp-do-defun on defuns with trailing comments
Date: Thu, 03 Feb 2011 11:39:11 -0500

If you say lisp-compile-defun on a defun which has a comment on the
line with the final closing parenthesis, then your defun does not get
compiled, because emacs sends lisp a form with some close parens added
at the end of the comment, and naturally lisp does not read them.

One cure for this would be to remove the line

(skip-chars-backward " \t\n\r\f") ;  Makes allegro happy

from lisp-do-defun.  Then emacs would keep the new line
that terminates the comment at the end of the defun and put the
close parens after that.

                                        Ken





reply via email to

[Prev in Thread] Current Thread [Next in Thread]