> (eq element '@) > > in an elisp mode buffer (e.g. scratch). Put point at the quote or the > "@". Eval > (goto-char (scan-sexps (point) 1)) > and you get an error like: > Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 15 16) The patch below seems to fix it. Any comments/objections? Stefan