Changeset 4131 for trunk/lisp/help-mode.el
- Timestamp:
- 07/29/06 07:48:34 (2 years ago)
- Files:
-
- trunk/lisp/help-mode.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/help-mode.el
r4111 r4131 158 158 (find-function-search-for-symbol fun nil file))) 159 159 (pop-to-buffer (car location)) 160 (when (cdr location) 161 (goto-char (cdr location))))) 160 (if (cdr location) 161 (goto-char (cdr location)) 162 (message "Unable to find location in file")))) 162 163 'help-echo (purecopy "mouse-2, RET: find function's definition")) 163 164 … … 169 170 (let ((location (find-variable-noselect var file))) 170 171 (pop-to-buffer (car location)) 171 (when (cdr location) 172 (goto-char (cdr location))))) 172 (if (cdr location) 173 (goto-char (cdr location)) 174 (message "Unable to find location in file")))) 173 175 'help-echo (purecopy "mouse-2, RET: find variable's definition")) 174 176 … … 182 184 (find-function-search-for-symbol fun 'defface file))) 183 185 (pop-to-buffer (car location)) 184 (when (cdr location) 185 (goto-char (cdr location))))) 186 (if (cdr location) 187 (goto-char (cdr location)) 188 (message "Unable to find location in file")))) 186 189 'help-echo (purecopy "mouse-2, RET: find face's definition")) 187 190
