Emacs: Replace :ensure with :straight.

This commit is contained in:
tastytea 2020-05-13 02:46:17 +02:00
parent 1f0b9fb147
commit b0e9525fab
4 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-25T17:36:34+0200>
;; Time-stamp: <2020-05-09T17:51:29+0200>
;;; Commentary:
@ -12,7 +12,7 @@
;; Edit remote files.
(unless slow-computer
(use-package tramp
:straight nil
:straight nil ; Use built-in version.
:defer 2
:custom

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-05-05T21:04:11+0200>
;; Time-stamp: <2020-05-09T17:42:59+0200>
;;; Commentary:
@ -138,8 +138,7 @@
)
(when (executable-find "clang-format")
(use-package clang-format
:ensure nil)) ; Installed by clang.
(use-package clang-format))
(provide 'programming/c++)
;;; c++.el ends here

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-20T21:27:05+0200>
;; Time-stamp: <2020-05-09T17:41:42+0200>
;;; Commentary:
@ -240,7 +240,7 @@ year if mode is derived from prog-mode."
;; Make bug references clickable.
(use-package bug-reference
:ensure nil ; Inbuilt.
:straight nil ; Inbuilt.
:config (put 'bug-reference-url-format 'safe-local-variable #'stringp)
:hook (prog-mode . bug-reference-prog-mode))

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-05-09T03:31:03+0200>
;; Time-stamp: <2020-05-09T17:36:36+0200>
;;; Commentary:
@ -108,7 +108,7 @@
;; Document editing, formatting, and organizing mode.
(use-package org
:ensure nil ; Use built-in version.
:straight nil ; Use built-in version.
:defines (org-default-notes-file)
:commands (org-mode)
:custom ((org-support-shift-select t) ; Make shift behave normally on text.