emacs-devel
[Top][All Lists]
Advanced

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

Re: Text property searching


From: João Távora
Subject: Re: Text property searching
Date: Mon, 16 Apr 2018 22:28:56 +0100



On Mon, Apr 16, 2018 at 10:18 PM, Lars Ingebrigtsen <address@hidden> wrote:
Can now be rewritten as:

(defun shr-next-link ()
  "Skip to the next link."
  (interactive)
  (if (not (text-property-search-forward 'shr-url nil nil t))
      (message "No next link")
    (message "%s" (get-text-property (point) 'help-echo))))

:-)

Looks super. BTW how would you go about on using this on software that is not in Emacs core? 
Would you consider making this a separate package for (GNU|M)ELPA that other packages can include as a dependency?

João

reply via email to

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