emacs-diffs
[Top][All Lists]
Advanced

[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'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]