bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13831: 24.3.50; [PATCH] net-utils-mode have no revert-buffer functio


From: Stefan Monnier
Subject: bug#13831: 24.3.50; [PATCH] net-utils-mode have no revert-buffer function
Date: Wed, 13 Mar 2013 13:52:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I think actually it is not a problem loading ffap when needed:
> --8<---------------cut here---------------start------------->8---
>   (defun net-utils-machine-at-point ()
>     (require 'ffap)
>     (ffap-machine-at-point))
>   (defun net-utils-url-at-point ()
>     (require 'ffap)
>     (ffap-url-at-point))
> --8<---------------cut here---------------end--------------->8---
> This reduce code and do the right thing.

We can even (require 'ffap) at top-level.  It's not that big of a deal.

> I can send a patch if ok.

Please do,


        Stefan





reply via email to

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