updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / emacs-linum-mode / emacs-linum-mode.install
blobfffdc293377ce3f72bd55ef495973dc5a6804869
1 post_install() {
2   cat << EOF
3 ==> To set up Emacs to automatically number lines add the following
4     to your ~/.emacs file (GNU Emacs) or ~/.xemacs/init.el file
5     (XEmacs un-tested):
6        (require 'linum)
7        ;; Number lines in all modes
8        (global-linum-mode 1)
9        ;; Apply numbering to specific modes (example for lisp-mode) [cannot use with global-linum-mode]
10        ;;(add-hook 'lisp-mode-hook (lambda () (linum-mode 1)))
11 EOF
14 post_upgrade() {
15   post_install $1