New answers tagged

0

Yes, in Emacs Lisp, as in Common Lisp and most other Lisps, arguments are evaluated before evaluating the body of the function. This is called "applicative" order evaluation. The opposite (passing the args unevaluated to the body, which evaluates them only as needed) is called "normal" order evaluation. (Well, there are actually multiple ...


2

You apparently want to advise the function hello, so that it does what you want instead. See the Elisp manual, node Advising Functions. This code advises function hello, replacing its definition. The resulting function invokes the original function (hello), concatenates the result of that invocation to " world", and returns that resulting string. (...


Top 50 recent answers are included