Created
December 20, 2023 02:56
-
-
Save jjwatt/8c3488126392ce23790832bc7978d3be to your computer and use it in GitHub Desktop.
vanilla emacs scratch file of functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This buffer is for text that is not saved, and for Lisp evaluation. | |
;; To create a file, visit it with C-x C-f and enter text in its buffer. | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/") t) | |
(package-initialize) | |
(package-refresh-contents) | |
(eval-when-compile (unless (package-installed-p 'use-package) | |
(package-install 'use-package)) | |
(require 'use-package)) | |
(use-package magit | |
:ensure t) | |
(use-package markdown-mode | |
:ensure t) | |
(use-package bazel | |
:ensure t) | |
;; (unless (package-installed-p 'magit) | |
;; (package-install 'magit)) | |
;; (require 'magit) | |
;; (unless (package-installed-p 'evil) | |
;; (package-install 'evil)) | |
;; (require 'evil) | |
;; (evil-mode 1) | |
;; (unless (package-installed-p 'markdown-mode) | |
;; (package-install 'markdown-mode)) | |
;; (require 'markdown-mode) | |
;; Doesn't seem to work. | |
;; but, bazelbuild provides one with no other deps | |
;; https://github.com/bazelbuild/emacs-bazel-mode | |
;; oh yeah just copy it in emacs load path to bazel.el | |
;; (unless (package-installed-p 'bazel-mode) | |
;; (package-install 'bazel-mode)) | |
;; (require 'bazel-mode) | |
;; Ah! But it is on there, just as bazel | |
(unless (package-installed-p 'bazel) | |
(package-install 'bazel)) | |
(require 'bazel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment