tag:blogger.com,1999:blog-3992530807750384868.post9157104540863450923..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: auto-detecting indentation styleUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3992530807750384868.post-59495246957542658412008-12-18T14:38:00.000+02:002008-12-18T14:38:00.000+02:00I think it would be better to autoload the functio...I think it would be better to autoload the function, simplifying the add-hook call:<BR/><BR/>(autoload 'dtrt-indent-mode "dtrt-indent" "Adapt to foreign indentation offsets" t)<BR/>(add-hook 'c-mode-common-hook 'dtrt-indent-mode)<BR/><BR/>It's a subtle difference, to be sure, but a valid distinction, IMHO.Joe Casadontehttps://www.blogger.com/profile/00456155873047335794noreply@blogger.com