Every defcustom should specify its type
[bpt/emacs.git] / lisp / textmodes / makeinfo.el
index b5f1336..4b57e0b 100644 (file)
@@ -1,7 +1,6 @@
 ;;; makeinfo.el --- run makeinfo conveniently
 
-;; Copyright (C) 1991, 1993, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-;;   2008, 2009, 2010  Free Software Foundation, Inc.
+;; Copyright (C) 1991, 1993, 2001-2013 Free Software Foundation, Inc.
 
 ;; Author: Robert J. Chassell
 ;; Maintainer: FSF
@@ -212,7 +211,7 @@ nonsensical results."
          (with-current-buffer buffer
            (revert-buffer t t))
        (setq buffer (find-file-noselect makeinfo-output-file-name)))
-      (if (window-dedicated-p (selected-window))
+      (if (window-dedicated-p)
          (switch-to-buffer-other-window buffer)
        (switch-to-buffer buffer)))
     (goto-char (point-min))))
@@ -289,5 +288,4 @@ line LINE of the window, or centered if LINE is nil."
 ;;; Place `provide' at end of file.
 (provide 'makeinfo)
 
-;; arch-tag: 5f810713-3de2-4e20-8030-4bc3dd0d9604
 ;;; makeinfo.el ends here