From e3a7eba54b4b16cc3917b8d46155a56ebec6d197 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 16 Sep 2020 08:39:26 +0300 Subject: [PATCH] Improve some descriptions --- core/prelude-packages.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 7fb366c..6a5c6c8 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -10,7 +10,8 @@ ;;; Commentary: ;; Takes care of the automatic installation of all the packages required by -;; Emacs Prelude. +;; Emacs Prelude. This module also adds a couple of package.el extensions +;; and provides functionality for auto-installing major modes on demand. ;;; License: @@ -33,6 +34,8 @@ (require 'cl-lib) (require 'package) +;;;; Package setup and additional utility functions + ;; accessing a package repo over https on Windows is a no go, so we ;; fallback to http there (if (eq system-type 'windows-nt) @@ -128,6 +131,8 @@ removing unwanted packages." (package-show-package-list (cl-set-difference package-activated-list prelude-packages))) +;;;; Auto-installation of major modes on demand + (defmacro prelude-auto-install (extension package mode) "When file with EXTENSION is opened triggers auto-install of PACKAGE. PACKAGE is installed only if not already present. The file is opened in MODE."