mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Make ffap compat aliases obsolete
* lisp/ffap.el (ffap-newsgroup-regexp, ffap-newsgroup-heads) (ffap-newsgroup-p): Make compatibility aliases obsolete.
This commit is contained in:
parent
dabb713eb0
commit
62e990db7a
1 changed files with 4 additions and 4 deletions
|
|
@ -558,10 +558,6 @@ Looks at `ffap-ftp-default-user', returns \"\" for \"localhost\"."
|
|||
(ffap-ftp-regexp (ffap-host-to-filename mach))
|
||||
))
|
||||
|
||||
(defvaralias 'ffap-newsgroup-regexp 'thing-at-point-newsgroup-regexp)
|
||||
(defvaralias 'ffap-newsgroup-heads 'thing-at-point-newsgroup-heads)
|
||||
(defalias 'ffap-newsgroup-p 'thing-at-point-newsgroup-p)
|
||||
|
||||
(defun ffap-url-p (string)
|
||||
"If STRING looks like an URL, return it (maybe improved), else nil."
|
||||
(when (and (stringp string) ffap-url-regexp)
|
||||
|
|
@ -2144,6 +2140,10 @@ Of course if you do not like these bindings, just roll your own!")
|
|||
(interactive)
|
||||
(eval (cons 'progn ffap-bindings)))
|
||||
|
||||
(define-obsolete-variable-alias 'ffap-newsgroup-regexp 'thing-at-point-newsgroup-regexp "30.1")
|
||||
(define-obsolete-variable-alias 'ffap-newsgroup-heads 'thing-at-point-newsgroup-heads "30.1")
|
||||
(define-obsolete-function-alias 'ffap-newsgroup-p #'thing-at-point-newsgroup-p "30.1")
|
||||
|
||||
|
||||
(provide 'ffap)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue