Emacs: Mark built-in packages explicitly.
This commit is contained in:
parent
5aa9d5dc07
commit
f2cf118fe9
|
@ -1,6 +1,6 @@
|
|||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-14T22:47:20+0100>
|
||||
;; Time-stamp: <2020-11-18T18:37:47+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
|||
(require 'basics/global-variables)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
;; If 2 files have the same name, append directory name after the filename.
|
||||
:custom ((uniquify-after-kill-buffer-p t)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-13T20:37:25+0100>
|
||||
;; Time-stamp: <2020-11-18T18:38:05+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Setup scratch buffer.
|
||||
|
@ -14,6 +14,7 @@
|
|||
(require 'misc/libs)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
|
||||
(initial-major-mode 'gfm-mode)) ; and select mode.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; global-variables.el --- Set some global variables. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-10-27T09:44:20+0100>
|
||||
;; Time-stamp: <2020-11-18T18:37:57+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Banish customizations.
|
||||
|
@ -16,6 +16,7 @@
|
|||
(require 'basics/package-management)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:diminish abbrev-mode
|
||||
:diminish auto-fill-function
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-05-24T22:56:24+0200>
|
||||
;; Time-stamp: <2020-11-18T18:38:12+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Setup mouse & keyboard behaviour.
|
||||
|
@ -11,6 +11,7 @@
|
|||
(require 'basics/package-management)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:custom ((mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line.
|
||||
;; Paste text where the cursor is, not where the mouse is.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-07-08T05:46:27+0200>
|
||||
;; Time-stamp: <2020-11-18T18:34:29+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
;; Edit remote files.
|
||||
(unless slow-computer
|
||||
(use-package tramp
|
||||
:straight nil ; Use built-in version.
|
||||
:straight (:type built-in)
|
||||
:defer 2
|
||||
:custom ((tramp-use-ssh-controlmaster-options nil
|
||||
"Don't override SSH config.")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-10-30T16:40:55+0100>
|
||||
;; Time-stamp: <2020-11-18T18:36:03+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -93,7 +93,7 @@
|
|||
:hook (cmake-mode . eldoc-cmake-enable))
|
||||
|
||||
(use-package gdb-mi
|
||||
:straight nil ; Inbuilt.
|
||||
:straight (:type built-in)
|
||||
:custom ((gdb-many-windows t)
|
||||
(gdb-show-main t)))
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-15T19:51:36+0100>
|
||||
;; Time-stamp: <2020-11-18T18:37:33+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
|||
(require 'basics/global-variables)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:after (compile)
|
||||
:defines (compilation-mode-map)
|
||||
|
@ -253,7 +254,7 @@ year if mode is derived from prog-mode."
|
|||
|
||||
;; Make bug references clickable.
|
||||
(use-package bug-reference
|
||||
:straight nil ; Inbuilt.
|
||||
:straight (:type built-in)
|
||||
:config (put 'bug-reference-url-format 'safe-local-variable #'stringp)
|
||||
:hook (prog-mode . bug-reference-prog-mode))
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-13T17:59:58+0100>
|
||||
;; Time-stamp: <2020-11-18T18:37:20+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
|||
(require 'basics/global-variables)
|
||||
|
||||
(use-package emacs
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:custom ((require-final-newline t) ; Always add newline at end of file.
|
||||
(fill-column 80) ; Documents are 80 chars wide by default.
|
||||
|
@ -85,7 +86,7 @@
|
|||
|
||||
;; spell checking.
|
||||
(use-package ispell
|
||||
:straight nil
|
||||
:straight (:type built-in)
|
||||
;; Use hunspell if possible and configure multiple dictionaries.
|
||||
;; <https://200ok.ch/posts/2020-08-22_setting_up_spell_checking_with_multiple_dictionaries.html>
|
||||
:config (when (executable-find "hunspell")
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
|
||||
;; Document editing, formatting, and organizing mode.
|
||||
(use-package org
|
||||
:straight nil ; Use built-in version.
|
||||
:straight (:type built-in)
|
||||
:defer 4
|
||||
:defines (org-default-notes-file)
|
||||
:commands (org-mode org-agenda)
|
||||
|
|
Loading…
Reference in New Issue
Block a user