X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a64bfdfa5a90731b804c057f2bcc74a8ba02937c..9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4:/lisp/textmodes/makeinfo.el diff --git a/lisp/textmodes/makeinfo.el b/lisp/textmodes/makeinfo.el index 4d701a9d26..4b57e0b974 100644 --- a/lisp/textmodes/makeinfo.el +++ b/lisp/textmodes/makeinfo.el @@ -1,6 +1,6 @@ ;;; makeinfo.el --- run makeinfo conveniently -;; Copyright (C) 1991, 1993, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1991, 1993, 2001-2013 Free Software Foundation, Inc. ;; Author: Robert J. Chassell ;; Maintainer: FSF @@ -211,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))))