(describe-variable): Handle find-variable-noselect returning no position.

This commit is contained in:
Richard M. Stallman 2006-07-12 15:58:10 +00:00
parent e1cac5702d
commit 38586111b1

View file

@ -534,7 +534,8 @@ it is displayed along with the global value."
(error nil))))
(when location
(with-current-buffer (car location)
(goto-char (cdr location))
(when (cdr location)
(goto-char (cdr location)))
(when (re-search-backward
"^;;; Generated autoloads from \\(.*\\)" nil t)
(setq file-name (match-string 1)))))))