diff options
Diffstat (limited to 'misc/eselect-mode.el')
-rw-r--r-- | misc/eselect-mode.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/eselect-mode.el b/misc/eselect-mode.el index d2df858..bfcf494 100644 --- a/misc/eselect-mode.el +++ b/misc/eselect-mode.el @@ -143,10 +143,7 @@ ;;;###autoload (define-derived-mode eselect-mode shell-script-mode "Eselect" "Major mode for .eselect files." - (if (not (featurep 'xemacs)) - (add-hook 'write-contents-functions 'eselect-mode-before-save t t) - (make-local-hook 'write-contents-hooks) - (add-hook 'write-contents-hooks 'eselect-mode-before-save t t)) + (add-hook 'write-contents-functions 'eselect-mode-before-save t t) (sh-set-shell "bash") (setq tab-width 4) (setq indent-tabs-mode t)) |