|
From: | Emanuel Berg |
Subject: | Re: pattern-identification-data-extraction-format-string |
Date: | Wed, 25 Mar 2015 02:03:44 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Philipp Stephani <p.stephani2@gmail.com> writes: > Using the 's' package you could simplify this to: > > (require 's) (defun match-data-format (data match > format-str) (apply #'message format-str (cdr (s-match > match data)))) 's' is in MELPA as s is an available package. Status: Available from melpa -- [Install] Archive: melpa Version: 20140910.334 Summary: The long lost Emacs string manipulation library. Keywords: [strings] The long lost Emacs string manipulation library. So "simplify" I don't know. But it looks interesting nonetheless. -- underground experts united
[Prev in Thread] | Current Thread | [Next in Thread] |