diff options
Diffstat (limited to 'emacs-flycheck-pos-tip.install')
-rw-r--r-- | emacs-flycheck-pos-tip.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/emacs-flycheck-pos-tip.install b/emacs-flycheck-pos-tip.install new file mode 100644 index 000000000000..8a52ff9d8397 --- /dev/null +++ b/emacs-flycheck-pos-tip.install @@ -0,0 +1,23 @@ +post_install () { + +cat << EOF + +==> Add this code to your .emacs file to use the mode: + +(require 'flycheck-pos-tip) +(with-eval-after-load 'flycheck + (flycheck-pos-tip-mode)) + +==> Or, with use-package: + +(use-package flycheck-pos-tip + :after flycheck + :config + (flycheck-pos-tip-mode)) + +EOF +} + +post_upgrade () { + post_install $1 +} |