GNU bug report logs -
#11606
24.1; Get rid of buffer local hook variables in find-file.el
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Sat, 2 Jun 2012 04:48:02 UTC
Severity: minor
Tags: notabug, wontfix
Found in version 24.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2012-06-03 01:57 +0800, Stefan Monnier wrote:
> I like removing things, but could you expand on why you think we should
> remove these?
Not removing the hooks themselves but the buffer-local bits, i.e.
=== modified file 'lisp/find-file.el'
--- lisp/find-file.el 2012-05-04 05:14:14 +0000
+++ lisp/find-file.el 2012-06-03 02:06:57 +0000
@@ -284,11 +284,6 @@
;; No user definable variables beyond this point!
;; ==============================================
-(make-variable-buffer-local 'ff-pre-find-hook)
-(make-variable-buffer-local 'ff-pre-load-hook)
-(make-variable-buffer-local 'ff-post-load-hook)
-(make-variable-buffer-local 'ff-not-found-hook)
-(make-variable-buffer-local 'ff-file-created-hook)
(make-variable-buffer-local 'ff-case-fold-search)
(make-variable-buffer-local 'ff-always-in-other-window)
(make-variable-buffer-local 'ff-ignore-include)
This bug report was last modified 11 years and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.