works for me, and seems even cleaner. (Except for the paren placement:
being usually procedural I like starts and ends to line up :-)
There are coding conventions in most/all languages. It's usually considered
good practice to follow them, even if your habits disagree at first.
Kai I just look at the indentation to see the structure.
Seems like you'd like Python... ;-)
S
"Daniel" == Daniel Pittman [EMAIL PROTECTED] writes:
Point of view, really. rest accepts zero or more arguments, optional
accepts zero or one. It makes little difference if you only ignore them.
But since the argument is ignored and since no argument is passed when
used interactively (since
"Stefan Monnier" [EMAIL PROTECTED]
16 Mar 2001 09:50:19 -0500
(define-key global-map "\M-`"
(lambda ()
"Use `tramp-compile' if in a tramp buffer, `compile' otherwise."
(interactive)
(call-interactively
(if (tramp-tramp-file-p buffer-file-name)
On Fri, 16 Mar 2001, Tom Roche wrote:
works for me, and seems even cleaner. (Except for the paren
placement: being usually procedural I like starts and ends to line
up :-)
I fail to see why people want to do this parens thing. Whoever looks
at them?
I just look at the indentation to see
Daniel Pittman [EMAIL PROTECTED] 6 Mar 2001 14:50:35 +1100
Try this for size, it /should/ work (with your key-binging, not mine
:):
(define-key global-map [(control f10)]
(lambda (rest args)
I _knew_ there was a better way than optional ...
(interactive)