diff options
author | Glenn Morris <rgm@gnu.org> | 2009-09-01 03:02:25 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-09-01 03:02:25 +0000 |
commit | d63eb0e7b460e6072b29fac59d6e743d556ba7fc (patch) | |
tree | 87fa122e62fa8fa965825b17c6c6659300d70695 /lisp/textmodes/reftex-toc.el | |
parent | d7fbf3f0d37e1a6947d30e82448b79942fe2e9a3 (diff) | |
download | emacs-d63eb0e7b460e6072b29fac59d6e743d556ba7fc.tar.gz |
Remove unnecessary bindings of default-major-mode (all are followed by
major-mode check and possible mode switch).
Diffstat (limited to 'lisp/textmodes/reftex-toc.el')
-rw-r--r-- | lisp/textmodes/reftex-toc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 0feda11a49f..6e07b78cb70 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -170,8 +170,7 @@ When called with a raw C-u prefix, rescan the document first." (floor (* (window-height) reftex-toc-split-windows-fraction))))) - (let ((default-major-mode 'reftex-toc-mode)) - (switch-to-buffer "*toc*"))) + (switch-to-buffer "*toc*")) (or (eq major-mode 'reftex-toc-mode) (reftex-toc-mode)) (set (make-local-variable 'reftex-docstruct-symbol) docstruct-symbol) |