David Kastrup <[EMAIL PROTECTED]> writes:

[Maybe i'm a bit too tired, but I should really train copy'n'paste]

> Would likely have to be
> (defvar sn-tex-abbrev-table (make-abbrev-table))

Thanks for the patient and fast answer, but when I add this to my
.emacs I get an error on C-x a l (Wrong type argument: vectorp,
sn-tex-abbrev-table). This is a backtrace (on 'define-mode-abbrev):

,----
| Debugger entered--Lisp error: (wrong-type-argument vectorp 
sn-tex-abbrev-table)
|   define-mode-abbrev("txt" "a simple test...")
|   call-interactively(define-mode-abbrev)
|   execute-extended-command(nil)
|   call-interactively(execute-extended-command)
`----

Here once again my .emacs snippet:

,----
| (defvar sn-tex-abbrev-table (make-abbrev-table))
| (defun sn-tex-mode-setup ()
|   (define-key LaTeX-mode-map [return] 'newline-and-indent)
|   (setq local-abbrev-table 'sn-tex-abbrev-table)
| ;;   (turn-off-filladapt-mode)
|   (outline-minor-mode t))
|
| (add-hook 'LaTeX-mode-hook 'sn-tex-mode-setup)
`----

BTW: I use emacs CVS (of 2006-09-15) and also tried to start with
emacs -q and only execute the snippet above prepended by (require
'tex-site), but the same error occured.

-- 
Until the next mail...,
Stefan.

Attachment: pgp48QAgO4gYK.pgp
Description: PGP signature

_______________________________________________
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to