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: grocery_stocker
Subject: Re: How come I keep getting nil on point-max?
Date: 28 Apr 2007 11:52:43 -0700
User-agent: G2/1.0

On Apr 28, 11:42 am, Ralf Angeli <address@hidden> wrote:
> * grocery stocker (2007-04-28) writes:
>
> > However, when I do
> > (let (start (point-max)))
>
> > I get:
> > nil
>
> > And when I do
> > (let (start (point-max))
> >         (message "The value is: %d" start))
>
> (let ((start (point-max))) ...
>

Okay, I did that, now when I go
(let ((start (point-min)) ((end (point-max)))
        (message "The value is: %d %d" start end ))


I get
Debugger entered--Lisp error: (invalid-function (start (point-min)))
  ((start (point-min)) ((end ...)) (message "The value is: %d %d"
start end))
  eval(((start (point-min)) ((end ...)) (message "The value is: %d %d"
start en$
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
* call-interactively(eval-last-sexp)





reply via email to

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