can't get untabify on save to work
To follow my groups coding standard, I need to make sure I remove tabs from my code. I tried the following from the FAQ at verilog.com: (add-hook 'verilog-mode-hook '(lambda () (add-hook 'local-write-file-hooks (lambda() (untabify (point-min) (point-max))))))
However, it doesn't seem to work. I'm using "gnu" emacs 23.3 on Linux and I'm not that fluent in elisp and add-hook.
Updated by Wilson Snyder about 2 years ago
- Status changed from New to Assigned
The emacs docs say the variable name changed, try this - note the nil.
(add-hook 'verilog-mode-hook '(lambda () (add-hook 'write-file-functions (lambda() (untabify (point-min) (point-max)) nil))))
Also available in: Atom