From 04e4cba42a5233c86ac8ca74f98b2a8b30f664c9 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Sun, 9 Jun 2019 09:01:34 -0500 Subject: [PATCH 3/4] gnu: Add emacs-mixed-pitch. * gnu/packages/emacs-xyz.scm (emacs-mixed-pitch): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d1eb877010..eab5fea93d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11607,6 +11607,30 @@ interactive behavior should be different.") decreasing the default font size in all GUI Emacs frames.") (license license:gpl3+)))) +(define-public emacs-mixed-pitch + (package + (name "emacs-mixed-pitch") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://stable.melpa.org/packages/mixed-pitch-" + version + ".el")) + (sha256 + (base32 + "1fw8y8pqvp9z5ipa7a2hvqhjil63mflv04hih7a8k2rrrmhz6qiy")))) + (build-system emacs-build-system) + (home-page "https://gitlab.com/jabranham/mixed-pitch") + (synopsis "Mix variable- and fixed-pitch fonts in the same Emacs buffer") + (description + "@code{mixed-pitch-mode} is a minor mode that enables mixing +variable-pitch and fixed-pitch fonts in the same buffer. The list +@code{mixed-pitch-fixed-pitch-faces} defines the faces that are kept +fixed-pitch,everything else becomes variable-pitch.") + (license license:gpl3+))) + (define-public emacs-visual-regexp (package (name "emacs-visual-regexp") -- 2.22.0