111 |
(defun find-function-search-for-symbol (symbol variable-p library) |
(defun find-function-search-for-symbol (symbol variable-p library) |
112 |
"Search for SYMBOL. |
"Search for SYMBOL. |
113 |
If VARIABLE-P is nil, `find-function-regexp' is used, otherwise |
If VARIABLE-P is nil, `find-function-regexp' is used, otherwise |
114 |
`find-variable-regexp' is used. The search is done in library LIBRARY." |
`find-variable-regexp' is used. The search is done in library LIBRARY." |
115 |
(if (null library) |
(if (null library) |
116 |
(error "Don't know where `%s' is defined" symbol)) |
(error "Don't know where `%s' is defined" symbol)) |
117 |
(save-match-data |
(save-match-data |