(describe-variable): Handle find-variable-noselect returning no position.
This commit is contained in:
parent
e1cac5702d
commit
38586111b1
1 changed files with 2 additions and 1 deletions
|
@ -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)))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue