GNU bug report logs - #31107
26.0.91; insert-file-contents-literally's doc indicates insert-file-contents runs find-file-hook, but it seems untrue

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Mon, 9 Apr 2018 08:24:01 UTC

Severity: normal

Found in version 26.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xu Chunyang <mail <at> xuchunyang.me>
Cc: 31107 <at> debbugs.gnu.org
Subject: bug#31107: 26.0.91; insert-file-contents-literally's doc indicates insert-file-contents runs find-file-hook, but it seems untrue
Date: Mon, 09 Apr 2018 17:54:58 +0300
> From: Xu Chunyang <mail <at> xuchunyang.me>
> Date: Mon, 09 Apr 2018 16:23:11 +0800
> 
> 'C-h S insert-file-contents-literally' indicates 'insert-file-contents'
> runs 'find-file-hook'
> 
>     -- Function: insert-file-contents-literally filename &optional visit
>              beg end replace
>         This function works like ‘insert-file-contents’ except that it does
>         not run ‘find-file-hook’, 
> 
> However, 'insert-file-contents' doesn't run 'find-file-hook'.

Whoever wrote that meant after-insert-file-functions.  I fixed that,
thanks.




This bug report was last modified 7 years and 47 days ago.

Previous Next


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