emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit 3067d2f12b7c8513f2ce1edc5089911917cca22a
parent 4825f7d0a04e21146b3151d376028a6828291389
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 23 Jul 2020 15:25:38 +0300

emacs: nitpick

Diffstat:
Minit.org | 16+++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/init.org b/init.org @@ -766,10 +766,10 @@ For markdown, I want to have 4 spaces as an indentation. For shell, I want to have 4 spaces as an indentation. #+BEGIN_SRC emacs-lisp - (setq - sh-indent-tabs-mode nil - sh-tab-width 4 - ) + (use-package sh-script + :custom + (sh-tab-width 4) + (sh-indent-tabs-mode nil)) #+END_SRC ** Python @@ -1063,9 +1063,11 @@ I am setting the default browser from the BROWSER environment variable so that I don't have to keep track of it in case I ever change my browser. #+BEGIN_SRC emacs-lisp - (if (getenv "BROWSER") - (setq browse-url-generic-program (executable-find (getenv "BROWSER")) - browse-url-browser-function 'browse-url-generic)) + (use-package browse-url + :if (getenv "BROWSER") + :custom + (browse-url-generic-program (executable-find (getenv "BROWSER"))) + (browse-url-browser-function 'browse-url-generic)) #+END_SRC ** Spelling