[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/uniquify-files 1d76b4f0e2: Don't set project-read-file-
From: |
Stephen Leake |
Subject: |
[elpa] externals/uniquify-files 1d76b4f0e2: Don't set project-read-file-name-function |
Date: |
Sun, 10 Jul 2022 12:58:54 -0400 (EDT) |
branch: externals/uniquify-files
commit 1d76b4f0e283afaff2be053d85f8726ffc3abd6e
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>
Don't set project-read-file-name-function
* uniquify-files.el: Don't set project-read-file-name-function; let user
do that if they want it. Bump version.
---
uniquify-files.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/uniquify-files.el b/uniquify-files.el
index d9430539fe..5b1833e8bc 100644
--- a/uniquify-files.el
+++ b/uniquify-files.el
@@ -1,12 +1,12 @@
;;; uniquify-files.el --- Completion style for files, minimizing directories
-*- lexical-binding:t -*-
;;
-;; Copyright (C) 2019, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2019, 2020, 2022 Free Software Foundation, Inc.
;;
;; Author: Stephen Leake <stephen_leake@stephe-leake.org>
;; Maintainer: Stephen Leake <stephen_leake@stephe-leake.org>
;; Keywords: completion table
;; uniquify
-;; Version: 1.0.3
+;; Version: 1.0.4
;; package-requires: ((emacs "25.0"))
;;
;; This file is part of GNU Emacs.
@@ -33,6 +33,11 @@
;; We accomplish this by preprocessing the list of absolute file names
;; to be in that style, in an alist with the original absolute file
;; names, and do completion on that alist.
+;;
+;; To use it with `project-find-file', customize
+;; `project-read-file-name-function':
+;;
+;; (setq project-read-file-name-function 'uniq-file-read)
(require 'cl-lib)
(require 'files)
@@ -317,8 +322,5 @@ done on UNIQIFIED-NAME, PRED is called with ABS-NAME."
prompt table predicate hist default)))
(cdr (assoc found alist))))
-;;;###autoload
-(setq-default project-read-file-name-function #'uniq-file-read)
-
(provide 'uniquify-files)
;;; uniquify-files.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/uniquify-files 1d76b4f0e2: Don't set project-read-file-name-function,
Stephen Leake <=