- Download the file header2.el. from http://www.emacswiki.org/emacs/header2.el
- Add the following to your .emacs file, which you can find in the $home directory. (add-to-list 'load-path' "here is the directory where you store the header2.el")
- Then put the following to your .emacs file:
- (add-hook 'write-file-hooks 'auto-update-file-header)
- (add-hook 'emacs-lisp-mode-hook 'auto-make-header)
- (add-hook 'c-mode-common-hook 'auto-make-header)
4. To make the header personal, you can change the header2.el by comment or uncomment different variables.
No comments:
Post a Comment