package-update stage4 (xorg) ok
[hvlinux.git] / stage3 / cis-emacs
index d9db20d..93e91ba 100755 (executable)
@@ -20,44 +20,7 @@ make bootstrap
 make install
 ldconfig
 
-cat > /etc/skel/.emacs << "EOF"
-;; ~/.emacs
-
-;; Emacs initialization file
-
-;; Are we running XEmacs or Emacs?
-(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
-
-;; Set up the keyboard so the delete key on both the regular keyboard
-;; and the keypad delete the character under the cursor and to the right
-;; under X, instead of the default, backspace behavior.
-(global-set-key [delete] 'delete-char)
-(global-set-key [kp-delete] 'delete-char)
-
-;; Do not display a splash screen on startup
-(setq inhibit-splash-screen t)
-
-;; Turn on font-lock mode for Emacs
-(cond ((not running-xemacs)
-       (global-font-lock-mode t)
-))
-
-;; Always end a file with a newline
-(setq require-final-newline t)
-
-;; Stop at the end of the file, not just add lines
-(setq next-line-add-newlines nil)
-
-;; Enable wheelmouse support by default
-(mwheel-install)
-(setq mwheel-follow-mouse t)
-
-;; Replaces tabs in files with spaces
-(setq-default indent-tabs-mode nil)
-
-;; Makes the compilation buffer always scrolls to follow
-;; output as it comes in.
-(setq compilation-scroll-output t)
-EOF
+install -m644 ${SCRDIR}/resources/emacsrc /etc/skel/.emacs
+install -m644 ${SCRDIR}/resources/emacsrc /root/.emacs
 
 exit $?