.dotfiles

Check-in [b95d4bb062]
Login

Check-in [b95d4bb062]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Emacs: Removed the last references to package.el, improved documentation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b95d4bb0623f44b18daaeea9a25ba5c58bd951a9f45373e8c9a4cc4e78e31fcc
User & Date: Cthulhux 2020-05-26 07:05:31
Context
2020-05-26
07:48
Emacs: more :config, less :init check-in: 46d12dc2a9 user: Cthulhux tags: trunk
07:05
Emacs: Removed the last references to package.el, improved documentation. check-in: b95d4bb062 user: Cthulhux tags: trunk
2020-05-25
20:20
straight.el introduction check-in: aa71d5d893 user: Cthulhux tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emacs/init.el.

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
  (winner-mode 1))


;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; PACKAGE PREPARATION:
;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'package)
(add-to-list 'package-archives
	     '("melpa" . "https://melpa.org/packages/") t)

;; Initialize MELPA packages:
(when (< emacs-major-version 27)
  (package-initialize))

;; Initialize Straight.el:
(setq straight-use-package-by-default t)
(defvar bootstrap-version)

(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

;; Initialize use-package:
(straight-use-package 'use-package)


;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; BUILT-IN PACKAGES:
;;;;;;;;;;;;;;;;;;;;;;;;;;








|
|
<
|
<
|
<

|

|
>












|







57
58
59
60
61
62
63
64
65

66

67

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
  (winner-mode 1))


;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; PACKAGE PREPARATION:
;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Use straight.el instead of Emacs's default package.el for
;; managing installed packages. This might or might not be a

;; good idea.

(defvar bootstrap-version)


;; Enable ":ensure t"-like behavior:
(setq straight-use-package-by-default t)

;; Load (or download) straight.el:
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

;; Install use-package:
(straight-use-package 'use-package)


;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; BUILT-IN PACKAGES:
;;;;;;;;;;;;;;;;;;;;;;;;;;