From: Andreas Gerler Date: Mon, 12 Oct 2015 15:47:43 +0000 (+0200) Subject: minor improvements X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=4cd82b6f8b60a2ea795b177e1466c9b974a78be0;p=emacsconfig.git minor improvements - engine-mode: open google in external browser. - eshell: added aliases for find-file. - env variable: set LANG. --- diff --git a/bba.org b/bba.org index b4c5fe69..b829699c 100644 --- a/bba.org +++ b/bba.org @@ -84,6 +84,9 @@ from bash. (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) ) @@ -276,7 +279,6 @@ search the web on your fingertips. C-c /. (defengine google "http://www.google.com/?q=%s" - :browser 'eww-browse-url :keybinding "g" ) @@ -1593,6 +1595,14 @@ window-total-height. #+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]