(vip-mode): Use `vip-startup-file' for the startup file name.
(defvar vip-tags-file-name "TAGS")
(defvar vip-inhibit-startup-message nil)
+
+(defvar vip-startup-file (convert-standard-filename "~/.vip")
+ "filename used as strtup file for `vip-mode'.")
\f
;; basic set up
(progn
(save-excursion
(set-buffer
- (find-file-noselect (substitute-in-file-name "~/.vip")))
+ (find-file-noselect
+ (substitute-in-file-name vip-startup-file)))
(goto-char (point-max))
(insert "\n(setq vip-inhibit-startup-message t)\n")
(save-buffer)
(point-min)
(if (null ex-addresses) (point-max) (car ex-addresses))))))
-(if (file-exists-p "~/.vip") (load "~/.vip"))
+(if (file-exists-p vip-startup-file) (load vip-startup-file))
;;; vip.el ends here