GNU bug report logs - #15215
24.3; quit abnormally when find-file

Previous Next

Package: emacs;

Reported by: forward <eude.xj <at> gmail.com>

Date: Fri, 30 Aug 2013 06:41:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 15215 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: forward <eude.xj <at> gmail.com>
Cc: 15215 <at> debbugs.gnu.org
Subject: Re: bug#15215: 24.3; quit abnormally when find-file
Date: Fri, 30 Aug 2013 03:04:33 -0400
forward wrote:

> In definition of function `find-file-noselect' in file "files.el"
> from line 1807 to 1816
>
>             ;; Certain files should be reverted automatically
>             ;; if they have changed on disk and not in the buffer.
>             ((and (not (buffer-modified-p buf))
>                   (let ((tail revert-without-query)
>                     (found nil))
>                 (while tail
>                   (if (string-match (car tail) filename)  ===>
>                       (setq found t))
>                   (setq tail (cdr tail)))
>                 found))
>
>    ==> when tail is `t' since `revert-without-query' is `t' ,  it signals a
> "Wrong type argument: listp, t".

`t' is not a documented value for revert-without-query.
It is supposed to be a list of regexps.
Set it to '(".") if you really want to revert everything without asking.




This bug report was last modified 11 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.