]> git.eshelyaron.com Git - emacs.git/commit
Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Sep 2010 18:47:29 +0000 (20:47 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Sep 2010 18:47:29 +0000 (20:47 +0200)
commit5abf15563a3a176f46ec4bcdc602c716eb9d5737
treec1c85ba8b4a3d9c676917a8a2d36110f8a85a7f4
parent0be01d2c8655f914e522877defa7b323c8cceb9c
Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
* lisp/textmodes/ispell.el (ispell-process-buffer-name): Remove.
(ispell-start-process): Avoid setq and simplify logic.
(ispell-init-process): Setup kill-buffer-hook locally when needed.
(kill-buffer-hook): Don't use it globally with code that uses
expand-file-name since that may call kill-buffer via
code_conversion_restore.
lisp/ChangeLog
lisp/textmodes/ispell.el