eamcs - remove used code
authorPeng Li <seudut@gmail.com>
Wed, 28 Sep 2016 14:02:19 +0000 (22:02 +0800)
committerPeng Li <seudut@gmail.com>
Wed, 28 Sep 2016 14:02:19 +0000 (22:02 +0800)
emacs.d/config.org

index 9f6337b..0a7634d 100644 (file)
@@ -17,11 +17,6 @@ Set system PATH and emacs exec path
   (setq exec-path (append exec-path '("/Library/TeX/texbin/")))
 #+END_SRC
 
   (setq exec-path (append exec-path '("/Library/TeX/texbin/")))
 #+END_SRC
 
-Set the emacs load path
-#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-  ;; (add-to-list 'load-path "~/.emacs.d/elisp")
-#+END_SRC
-
 ** Package Initialization
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (require 'package)
 ** Package Initialization
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
   (require 'package)
@@ -1157,21 +1152,8 @@ Toggle an eshell in split window below, refer [[http://www.howardism.org/Technic
         (other-window 1)
         (if (projectile-project-p)
             (projectile-run-eshell)
         (other-window 1)
         (if (projectile-project-p)
             (projectile-run-eshell)
-          (eshell))
-        ;; (let ((dir default-directory))
-        
-        ;;   (split-window-vertically (- (/ (window-total-height) 3)))
-        ;;   (other-window 1)
-        ;;   (unless (and (boundp 'eshell-buffer-name) (get-buffer eshell-buffer-name))
-        ;;     (eshell))
-        ;;   (switch-to-buffer eshell-buffer-name)
-        ;;   (goto-char (point-max))
-        ;;   (eshell-kill-input)
-        ;;   (insert (format "cd %s" dir))
-        ;;   (eshell-send-input))
-        )))
+          (eshell)))))
 
 
-  ;; (global-unset-key (kbd "M-`"))
   (global-set-key (kbd "s-e") 'sd/toggle-project-eshell)
 #+END_SRC
 
   (global-set-key (kbd "s-e") 'sd/toggle-project-eshell)
 #+END_SRC