Skip to content

Instantly share code, notes, and snippets.

@dhiemstra
Created April 8, 2012 10:02
Show Gist options
  • Save dhiemstra/2336382 to your computer and use it in GitHub Desktop.
Save dhiemstra/2336382 to your computer and use it in GitHub Desktop.
Avoid extra viper buffer on emacs startup
;; Load viper mode
(defun init-viper ()
(setq viper-mode t)
(require 'viper))
(add-hook 'emacs-startup-hook 'init-viper)
@dhiemstra
Copy link
Author

Loading viper from the emacs startup hook doesn't load the extra frame.
See http://osdir.com/ml/emacs.macintosh.osx/2006-01/msg00026.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment