emacs-devel
[Top][All Lists]
Advanced

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

Re: Imports / inclusion of s.el into Emacs


From: Eli Zaretskii
Subject: Re: Imports / inclusion of s.el into Emacs
Date: Sat, 02 May 2020 10:02:25 +0300

> From: Richard Stallman <address@hidden>
> Date: Fri, 01 May 2020 22:23:44 -0400
> Cc: address@hidden
> 
> Renaming 'concat' seems also like spurious inconvenience in the name
> of rigidity -- the Lisp equivalent of bureaucratese.

We all do keep in mind that 'concat' is about much more than strings,
yes?  Such polymorphic APIs are IMO a problem when a simplistic
re/naming is considered.

> What does 's-prepend' do?

  (defun s-prepend (prefix s)
  "Concatenate PREFIX and S."

> And how would we do it in Emacs Lisp now?

Trivially, use 'concat'.



reply via email to

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