On Sat Apr 14 2007 Glenn Morris wrote:
> > + (unless (string-match "\\`\\({.*}\\|\".*\"\\)\\'" init)
> > + (setq init (concat (bibtex-field-left-delimiter) init
> > + (bibtex-field-right-delimiter)))))
>
> What about the (unlikely?) cases like:
>
> author = {Smith}, J. and Jones, {P.}
>
> It matches the above regexp, but still needs enclosing.
It is an unlikely case. But you are right, the code should allow
this possibility. In your new version, I only replaced fboundp by
functionp and added a test that INIT is indeed a string.
Roland
_______________________________________________
emacs-pretest-bug mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug