[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/show-font 69e2db52e5 34/54: Make show-font-install non-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/show-font 69e2db52e5 34/54: Make show-font-install non-interactive |
Date: |
Tue, 10 Sep 2024 03:58:59 -0400 (EDT) |
branch: externals/show-font
commit 69e2db52e5ce78c3d81e22920be1bf93a116485a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make show-font-install non-interactive
Because this might then be called from the wrong place. I do not want
to prompt the user for a file to install.
---
show-font.el | 4 ----
1 file changed, 4 deletions(-)
diff --git a/show-font.el b/show-font.el
index 3171dc443c..7ab741e938 100644
--- a/show-font.el
+++ b/show-font.el
@@ -264,12 +264,8 @@ FAMILY is a string like those of
`show-font--get-installed-font-families'."
(defun show-font-install (file)
"Install font FILE locally.
-When called interactively, FILE is the variable `buffer-file-name'.
-Otherwise, FILE is a string.
-
FILE must be of type TTF or OTF and must not already be installed (per
`show-font-installed-file-p')."
- (interactive (list buffer-file-name))
(if (string-match-p "\\.\\(ttf\\|otf\\)\\'" file)
(cond
((show-font-installed-file-p file)
- [elpa] externals/show-font 0d5978f07b 52/54: Add link with sample pictures, (continued)
- [elpa] externals/show-font 0d5978f07b 52/54: Add link with sample pictures, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font da30bb5554 06/54: Add FIXME for how the file handler is added (also see commit a1ffe8a), ELPA Syncer, 2024/09/10
- [elpa] externals/show-font c41443f03a 03/54: Tweak how the font is propertized, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 6ca36f382e 23/54: Add some outline headings, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font b1bf2837f9 36/54: Rename helper function that check FILE font attributes, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 8ed7c66c63 44/54: Merge pull request #3 from swapnilsm/main, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font e8bb71badc 45/54: Add .elpaignore file for GNU ELPA, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 7dd09cd87e 48/54: Update the package Commentary, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 7d1cf73686 50/54: Update to show-font version 0.1.0, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 29c8fef4c6 33/54: Define functions to install a font file, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 69e2db52e5 34/54: Make show-font-install non-interactive,
ELPA Syncer <=
- [elpa] externals/show-font 66bb076f77 47/54: Update the README.md and include links to the manual and changelog, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 6e10b12b5d 54/54: Fix a couple of typos, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 54508fc514 13/54: Fix regression in show-font--get-attribute (when output has many families), ELPA Syncer, 2024/09/10
- [elpa] externals/show-font ff995c626d 15/54: Incorporate suggestions from Philip Kaludercic, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 09ad971308 21/54: Update show-font-pangram doc string, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 3be8056ae5 24/54: Stop using show-font-extensions-regexp; define regexp directly, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font b1a9d8a5cc 07/54: Remove needless 'let' before the 'when-let', ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 2d04283d8e 31/54: Add revert-buffer-function for show-font-select-preview, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font 7bd66d3105 39/54: Add FIXME to refine show-font-list output, ELPA Syncer, 2024/09/10
- [elpa] externals/show-font ad30c77b06 42/54: Remove WIP notices, ELPA Syncer, 2024/09/10