diff options
| -rw-r--r-- | lisp/help.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index 5ec9b1f5299..992a9b85f4b 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -267,8 +267,13 @@ If that doesn't give a function, return nil." | |||
| 267 | (and (symbolp obj) (fboundp obj) obj)))) | 267 | (and (symbolp obj) (fboundp obj) obj)))) |
| 268 | (error nil)))) | 268 | (error nil)))) |
| 269 | (let* ((str (find-tag-default)) | 269 | (let* ((str (find-tag-default)) |
| 270 | (obj (if str (intern str)))) | 270 | (sym (if str (intern-soft str)))) |
| 271 | (and (symbolp obj) (fboundp obj) obj)))) | 271 | (if (and sym (fboundp sym)) |
| 272 | sym | ||
| 273 | (save-match-data | ||
| 274 | (when (and str (string-match "\\`\\W*\\(.*?\\)\\W*\\'" str)) | ||
| 275 | (setq sym (intern-soft (match-string 1 str))) | ||
| 276 | (and (fboundp sym) sym))))))) | ||
| 272 | 277 | ||
| 273 | 278 | ||
| 274 | ;;; `User' help functions | 279 | ;;; `User' help functions |