Questions tagged [arguments]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
3answers
1k views

How to write a transparent “pass-through” function wrapper?

What I mean by a "transparent 'pass-through' function wrapper" is a function, let's call it wrapper, that returns the result from passing all its argument to some other function, let's call it wrappee....
0
votes
1answer
87 views

How can I use a var to provide multiple arguments to a function? [duplicate]

Here is a simple example in which I would like to replace (start-process "ls" "*temp*" "ls" "-l" "-a" "-t" "-r") ; this works with (setq some-var ????) ; <-- Need to figure this part out (start-...
8
votes
1answer
633 views

How to programmatically answer “yes” to those commands that prompt for a decision from the user?

I made a custom function that combines two functions of twittering-mode , twittering-favorite and twittering-native-retweet, however these two needs input from me by answering an yes or no question. ...
12
votes
2answers
830 views

How to manipulate argument list in nadvice.el?

Following on from an answer to another question about the new advice system: In old-style advice.el, it was possible to manipulate individual members of an advised function's argument list, without ...
1
vote
1answer
193 views

How does (org-agenda-todo arg) work? What does the argument mean?

By trial and error I have found that in org-agenda (org-agenda-todo 'done) marks the entry at point as "DONE". Can you explain why? How can I modify the argument to the org-agenda-todo function (or ...