diff options
| author | Gerd Moellmann | 2000-06-08 20:59:25 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-06-08 20:59:25 +0000 |
| commit | 6254fc9fb22016f51219400c124a508e9ab13dec (patch) | |
| tree | ddf61587342a8aa804d06b2dc1d12d0b9bbda488 | |
| parent | b5d56c1f0a369678331d52561dc2b893b6eaa213 (diff) | |
| download | emacs-6254fc9fb22016f51219400c124a508e9ab13dec.tar.gz emacs-6254fc9fb22016f51219400c124a508e9ab13dec.zip | |
(forward-thing): Use functionp instead of fboundp.
Set maintainer to FSF since author isn't reachable.
| -rw-r--r-- | lisp/thingatpt.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 214f6dcfde1..99463d371d7 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el | |||
| @@ -1,8 +1,10 @@ | |||
| 1 | ;;; thingatpt.el --- Get the `thing' at point | 1 | ;;; thingatpt.el --- Get the `thing' at point |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1991,92,93,94,95,96,97,1998 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1991,92,93,94,95,96,97,1998,2000 |
| 4 | ;; Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Author: Mike Williams <mikew@gopher.dosli.govt.nz> | 6 | ;; Author: Mike Williams <mikew@gopher.dosli.govt.nz> |
| 7 | ;; Maintainer: FSF | ||
| 6 | ;; Keywords: extensions, matching, mouse | 8 | ;; Keywords: extensions, matching, mouse |
| 7 | ;; Created: Thu Mar 28 13:48:23 1991 | 9 | ;; Created: Thu Mar 28 13:48:23 1991 |
| 8 | 10 | ||
| @@ -54,7 +56,7 @@ | |||
| 54 | "Move forward to the end of the next THING." | 56 | "Move forward to the end of the next THING." |
| 55 | (let ((forward-op (or (get thing 'forward-op) | 57 | (let ((forward-op (or (get thing 'forward-op) |
| 56 | (intern-soft (format "forward-%s" thing))))) | 58 | (intern-soft (format "forward-%s" thing))))) |
| 57 | (if (fboundp forward-op) | 59 | (if (functionp forward-op) |
| 58 | (funcall forward-op (or n 1)) | 60 | (funcall forward-op (or n 1)) |
| 59 | (error "Can't determine how to move over a %s" thing)))) | 61 | (error "Can't determine how to move over a %s" thing)))) |
| 60 | 62 | ||