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

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

Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) (end-of-b


From: Christopher Dimech
Subject: Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) (end-of-buffer)
Date: Wed, 23 Dec 2020 18:56:01 +0100

> Sent: Wednesday, December 23, 2020 at 11:19 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) 
> (end-of-buffer)
>
> Christopher Dimech wrote:
> 
> > (pcase typh-frame-size-state
> >   (1 (setq debug-on-error nil)
> >      (setq typh-frame-size-state 2))
> >   (2 (setq debug-on-error t)
> >      (setq debug-ignored-errors nil)
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Here we see how where the problem originated, because
> `debug-ignored-errors' by default contains both
> beginning-of-buffer and end-of-buffer.
> 
> Here we also see what happens when you muck around with global
> variables from defuns...

It also overrides the variable ‘debug-on-error’.

How would be best to have the function?

> -- 
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
> 
> 
>



reply via email to

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