aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/config.org8
-rw-r--r--Emacs/.config/emacs/core.org4
-rw-r--r--Emacs/.config/emacs/elisp/ada-mode.el7
-rw-r--r--Emacs/.config/emacs/elisp/haskell-multiedit.el7
-rw-r--r--Emacs/.config/emacs/elisp/hide-mode-line.el15
-rw-r--r--Emacs/.config/emacs/elisp/license.el9
-rw-r--r--Emacs/.config/emacs/elisp/literate.el7
7 files changed, 24 insertions, 33 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 25023e4..235957c 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -363,10 +363,10 @@ info pages so I'd like nice navigation options.
"RET" #'Info-follow-nearest-node))
#+end_src
** Display line numbers
-I don't really like line numbers, I find them similar to [[*Fringes][fringes]] as
-useless space, but at least it provides some information. Sometimes
-it can help with doing repeated commands so a toggle option is
-necessary.
+I don't really like line numbers, I find them similar to
+[[*Fringes][fringes]] as useless space, but at least it provides some
+information. Sometimes it can help with doing repeated commands so a
+toggle option is necessary.
#+begin_src emacs-lisp
(use-package display-line-numbers
:straight nil
diff --git a/Emacs/.config/emacs/core.org b/Emacs/.config/emacs/core.org
index 3902e51..5472ea4 100644
--- a/Emacs/.config/emacs/core.org
+++ b/Emacs/.config/emacs/core.org
@@ -7,8 +7,8 @@
#+startup: noindent
Packages that are absolutely necessary for the rest of the
-configuration. These yield core functionality such as keybinding,
-modal editing, completion, auto typing to name a few.
+configuration. Window management, Keybindings or completion
+frameworks; they're all done here.
* General
General provides a great solution for binding keys. It has evil and
use-package support so it fits nicely into configuration. In this
diff --git a/Emacs/.config/emacs/elisp/ada-mode.el b/Emacs/.config/emacs/elisp/ada-mode.el
index a789fc2..1d83da9 100644
--- a/Emacs/.config/emacs/elisp/ada-mode.el
+++ b/Emacs/.config/emacs/elisp/ada-mode.el
@@ -5,10 +5,9 @@
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com>
;; Keywords: faces, languages
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License Version
+;; 2 as published by the Free Software Foundation.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/Emacs/.config/emacs/elisp/haskell-multiedit.el b/Emacs/.config/emacs/elisp/haskell-multiedit.el
index 96eb19d..81a5338 100644
--- a/Emacs/.config/emacs/elisp/haskell-multiedit.el
+++ b/Emacs/.config/emacs/elisp/haskell-multiedit.el
@@ -7,10 +7,9 @@
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com>
;; Keywords:
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License version
+;; 2 as published by the Free Software Foundation.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/Emacs/.config/emacs/elisp/hide-mode-line.el b/Emacs/.config/emacs/elisp/hide-mode-line.el
index a16667d..488bf3f 100644
--- a/Emacs/.config/emacs/elisp/hide-mode-line.el
+++ b/Emacs/.config/emacs/elisp/hide-mode-line.el
@@ -5,10 +5,9 @@
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com>
;; Keywords:
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License version
+;; 2 as published by the Free Software Foundation.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -31,11 +30,9 @@
"Hides the mode line."
:lighter nil
(if mode-line-format
- (progn
- (setq-local hide-mode-line--prev-mode-line mode-line-format)
- (setq-local mode-line-format nil))
- (setq-local mode-line-format hide-mode-line--prev-mode-line)))
-
+ (setq-local hide-mode-line--prev-mode-line mode-line-format
+ mode-line-format nil)
+ (setq-local mode-line-format hide-mode-line--prev-mode-line)))
(provide 'hide-mode-line)
;;; hide-mode-line.el ends here
diff --git a/Emacs/.config/emacs/elisp/license.el b/Emacs/.config/emacs/elisp/license.el
index 5921d59..a4922ab 100644
--- a/Emacs/.config/emacs/elisp/license.el
+++ b/Emacs/.config/emacs/elisp/license.el
@@ -5,10 +5,9 @@
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com>
;; Keywords:
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License version
+;; 2 as published by the Free Software Foundation.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -19,9 +18,7 @@
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
-
;;
-
;;; Code:
(defvar +license/license-choice nil)
diff --git a/Emacs/.config/emacs/elisp/literate.el b/Emacs/.config/emacs/elisp/literate.el
index ffd4963..5039446 100644
--- a/Emacs/.config/emacs/elisp/literate.el
+++ b/Emacs/.config/emacs/elisp/literate.el
@@ -5,10 +5,9 @@
;; Author: Aryadev Chavali <aryadev@aryadevchavali.com>
;; Keywords:
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License version
+;; 2 as published by the Free Software Foundation.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of