[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ecfac493fa 03/10: Make ffap-newfile-prompt obsolete
From: |
Stefan Kangas |
Subject: |
master ecfac493fa 03/10: Make ffap-newfile-prompt obsolete |
Date: |
Sat, 30 Jul 2022 06:12:06 -0400 (EDT) |
branch: master
commit ecfac493fa21deef5fb694028782eace56afc87e
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Make ffap-newfile-prompt obsolete
* lisp/ffap.el (ffap-newfile-prompt): Obsolete in favor of
'find-file-not-found-functions'.
---
lisp/ffap.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 9ed17125de..528c02d060 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -240,11 +240,10 @@ it passes it on to `dired'."
:group 'ffap)
(defcustom ffap-newfile-prompt nil
- ;; Suggestion from RHOGEE, 11 Jul 1994. Disabled, I think this is
- ;; better handled by `find-file-not-found-functions'.
"Whether `find-file-at-point' prompts about a nonexistent file."
:type 'boolean
:group 'ffap)
+(make-obsolete-variable 'ffap-newfile-prompt 'find-file-not-found-functions
"29.1")
(defcustom ffap-require-prefix nil
;; Suggestion from RHOGEE, 20 Oct 1994.
@@ -1611,7 +1610,7 @@ Uses the face `ffap' if it is defined, or else
`highlight'."
If `ffap-url-regexp' is not nil, the FILENAME may also be an URL.
With a prefix, this command behaves exactly like `ffap-file-finder'.
If `ffap-require-prefix' is set, the prefix meaning is reversed.
-See also the variables `ffap-dired-wildcards', `ffap-newfile-prompt',
+See also the variables `ffap-dired-wildcards',
`ffap-url-unwrap-local', `ffap-url-unwrap-remote',
`ffap-file-name-with-spaces', and the functions `ffap-file-at-point'
and `ffap-url-at-point'."
- master updated (76bcbe5f93 -> cd3ce6e541), Stefan Kangas, 2022/07/30
- master 53b1e6f96c 01/10: Make outline-view-change-hook obsolete, Stefan Kangas, 2022/07/30
- master 2e21074efd 08/10: Prefer defvar-keymap in dns-mode-map, Stefan Kangas, 2022/07/30
- master a109cdc8f2 04/10: ; * lisp/ffap.el: Comment cleanup., Stefan Kangas, 2022/07/30
- master ecfac493fa 03/10: Make ffap-newfile-prompt obsolete,
Stefan Kangas <=
- master 7e84db9484 07/10: Prefer defvar-keymap in nroff-mode-map, Stefan Kangas, 2022/07/30
- master 9bdcca553f 05/10: ; * lisp/emacs-lisp/regi.el: Delete incorrect "last modified" comment., Stefan Kangas, 2022/07/30
- master fc79bb6ffc 02/10: * lisp/ffap.el (ffap-url-regexp): Add gemini., Stefan Kangas, 2022/07/30
- master cd3ce6e541 10/10: * lisp/apropos.el (apropos-documentation): Simplify., Stefan Kangas, 2022/07/30
- master f08f5b7afe 09/10: Avoid leaving temp buffers in bib-mode and refbib, Stefan Kangas, 2022/07/30
- master 454c06a22c 06/10: Fix namespace use in bib-mode.el, Stefan Kangas, 2022/07/30