help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How come I keep getting nil on point-max?


From: Joost Kremers
Subject: Re: How come I keep getting nil on point-max?
Date: 28 Apr 2007 19:16:43 GMT
User-agent: slrn/0.9.8.1 (Linux)

grocery_stocker wrote:
> Okay, one last question. When I modify let to do the following:
> (let ((start (point-min))
>          ((end (point-max)))

[snip debug output]

> I don't get this. I thought I could assign multiple variables to let.

you can, if you do it correctly:

(let ((start (point-min))
      (end (point-max)))
  (message "Start: %d; End: %d" start end))

note the parentheses.

C-h i m Elisp RET m index RET m let RET


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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