aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-10-13 19:12:07 +0000
committerStefan Monnier2001-10-13 19:12:07 +0000
commitb546b1a52d92dc025dc38befe79d0fa176dc8744 (patch)
tree6cd98341773eff4c88de193f6709a7f4fb479845
parente444e0d6bb7136ecc29aeb89a052674ea05a60e8 (diff)
downloademacs-b546b1a52d92dc025dc38befe79d0fa176dc8744.tar.gz
emacs-b546b1a52d92dc025dc38befe79d0fa176dc8744.zip
(2C-mode): Don't use make-local-hook.
-rw-r--r--lisp/textmodes/two-column.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el
index da5fd523bfd..e75af5b1bac 100644
--- a/lisp/textmodes/two-column.el
+++ b/lisp/textmodes/two-column.el
@@ -327,7 +327,6 @@ These keybindings can be customized in your ~/.emacs by `2C-mode-map',
327The appearance of the screen can be customized by the variables 327The appearance of the screen can be customized by the variables
328`2C-window-width', `2C-beyond-fill-column', `2C-mode-line-format' and 328`2C-window-width', `2C-beyond-fill-column', `2C-mode-line-format' and
329`truncate-partial-width-windows'." 329`truncate-partial-width-windows'."
330 (make-local-hook 'post-command-hook)
331 (add-hook 'post-command-hook '2C-autoscroll nil t) 330 (add-hook 'post-command-hook '2C-autoscroll nil t)
332 (setq fill-column (- 2C-window-width 331 (setq fill-column (- 2C-window-width
333 2C-beyond-fill-column) 332 2C-beyond-fill-column)