[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[comint.el] `comint-preoutput-filter-functions' should be buffer-local
From: |
Jesper Harder |
Subject: |
[comint.el] `comint-preoutput-filter-functions' should be buffer-local |
Date: |
Tue, 26 Feb 2002 23:32:47 +0100 |
In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2001-10-22 on defun.localdomain
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Hi!
The comments in `comint.el':
;; Buffer Local Variables:
;;============================================================================
;; Comint mode buffer local variables:
;; [..]
;; comint-get-old-input function Hooks for specific
;; comint-input-filter-functions hook process-in-a-buffer
;; comint-output-filter-functions hook function modes.
;; comint-preoutput-filter-functions hook
suggest that `comint-preoutput-filter-functions' is buffer-local. But
as far as I can see it isn't. Shouldn't there be a
(make-variable-buffer-local 'comint-preoutput-filter-functions)
somewhere in `comint.el'?
Also, the description of `comint-preoutput-filter-functions' as a hook
is slightly misleading -- stuff like:
(add-hook 'comint-preoutput-filter-functions 'foo t t)
doesn't work. I.e. you get an error if the fourth argument, LOCAL, is
non-nil:
error in process filter: comint-output-filter: Symbol's function definition is
void: t
--
Cheers,
Jesper Harder
- [comint.el] `comint-preoutput-filter-functions' should be buffer-local,
Jesper Harder <=