(append
(split-string-and-unquote path ":")
exec-path)))
+ (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $LANG")))
+ (setenv "LANG" path)
+ )
(let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $ORACLE_HOME")))
(setenv "ORACLE_HOME" path)
)
(defengine google
"http://www.google.com/?q=%s"
- :browser 'eww-browse-url
:keybinding "g"
)
#+END_SRC
+Want to have some [[http://www.emacswiki.org/emacs/EshellAlias][shell aliases]], right?
+
+#+BEGIN_SRC emacs-lisp
+ (defalias 'e 'find-file)
+ (defalias 'ff 'find-file)
+ (defalias 'emacs 'find-file)
+#+END_SRC
+
* [[http://stackoverflow.com/questions/3035337/in-emacs-can-you-evaluate-an-emacs-lisp-expression-and-replace-it-with-the-resul][eval emacs lisp expression and replace it]]
[2014-11-02 Sun 18:21]