I'm trying to configure Xemacs to use spaces instead of tabs when auto
indenting source files. The advice given in
http://aolserver.com/docs/devel/tech/standards.html#overall was to add
the following lisp code to my .emacs file:

(add-hook 'c-mode-hook
       (function (lambda ()
               (setq c-basic-offset 4)
               (setq c-indent-level 4))))

I did this and restarted, but the indents still seem to be tabs.
Is there a way to do this in Xemacs, and can it work for Tcl as well?

--Tom Jackson

Reply via email to