Mercurial > emacs
changeset 48195:1ecb81625b1d
(checkdoc-find-error): Use get-file-buffer instead of get-buffer.
author | Markus Rost <rost@math.uni-bielefeld.de> |
---|---|
date | Thu, 07 Nov 2002 16:52:04 +0000 |
parents | b1cc58b1a509 |
children | d5e00837e437 |
files | lisp/emacs-lisp/checkdoc.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/checkdoc.el Thu Nov 07 16:46:11 2002 +0000 +++ b/lisp/emacs-lisp/checkdoc.el Thu Nov 07 16:52:04 2002 +0000 @@ -2586,9 +2586,9 @@ (if (looking-at "\\(\\(\\w+\\|\\s_\\)+\\.el\\):\\([0-9]+\\):") (let ((l (string-to-int (match-string 3))) (f (match-string 1))) - (if (not (get-buffer f)) + (if (not (get-file-buffer f)) (error "Can't find buffer %s" f)) - (switch-to-buffer-other-window (get-buffer f)) + (switch-to-buffer-other-window (get-file-buffer f)) (goto-line l)))) (defun checkdoc-buffer-label ()