Skip to content

Commit

Permalink
corrected emacs header files, paths, and .emacs accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
kayofeld committed Nov 29, 2016
1 parent 50a4cca commit e3e51d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion installation/.files/.emacs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(setq load-path
(append load-path (list my-elmode-dir)))

(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/epitech")

(load "std.el")
(load "std_comment.el")
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Login <[email protected]>
;;
;; Started on Thu Sep 9 23:34:05 1993 Frederic Denis
;; Last update Thu Jul 15 10:34:13 2010 root
;; Last update Tue Nov 29 18:42:22 2016 Paul Montague
;;
;; Based on Comment routines by Isaac
;;
Expand All @@ -23,13 +23,13 @@
(setq header-made-by "Made by "
header-login "Login "
header-login-beg "<"
header-login-mid "@"
header-login-mid ""
header-login-end ">"
header-started "Started on "
header-last "Last update "
header-for " for "
header-in " in "
domaine-name "epitech.net")
domaine-name "")
(if (setq user-nickname (getenv "USER_NICKNAME"))
t
(setq user-nickname (user-full-name))
Expand Down
4 changes: 2 additions & 2 deletions installation/install
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ function setup_emacs

cp -r $files/.emacs.d $dir_tmp

sed 's/(getenv "USER")/"'$login'"/g' $emacs_tmp/std_comment.el > $emacs_tmp/std_comment.el.tmp
mv $emacs_tmp/std_comment.el.tmp $emacs_tmp/std_comment.el
sed 's/(getenv "USER")/"'$login'"/g' $emacs_tmp/epitech/std_comment.el > $emacs_tmp/epitech/std_comment.el.tmp
mv $emacs_tmp/epitech/std_comment.el.tmp $emacs_tmp/epitech/std_comment.el

cp $files/.emacs /home/$USER/
chmod +rw /home/$USER/.emacs
Expand Down

0 comments on commit e3e51d0

Please sign in to comment.