diff options
author | 2007-12-10 11:17:59 +0000 | |
---|---|---|
committer | 2007-12-10 11:17:59 +0000 | |
commit | 92c753a2dcd28a9ec17f0fc52ea8fdf7002fcca9 (patch) | |
tree | dfb079e3ceb2cd97d3964c4583b1caff41874b5e /lib | |
parent | 9d57b1a5b71a8304a88122dd02c13d7ffb517234 (diff) |
texi-docstring-magic-insert-magic: fix for GNU Emacs name: function-called-at-point
Diffstat (limited to 'lib')
-rw-r--r-- | lib/texi-docstring-magic.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/texi-docstring-magic.el b/lib/texi-docstring-magic.el index 5572a411..3be809f3 100644 --- a/lib/texi-docstring-magic.el +++ b/lib/texi-docstring-magic.el @@ -381,7 +381,8 @@ With prefix arg, no errors on unknown symbols. (This results in (defun texi-docstring-magic-insert-magic (symbol) (interactive (let* ((v (or (variable-at-point) - (function-at-point) + (and (fboundp 'function-at-point (function-at-point))) + (and (fboundp 'function-called-at-point (function-called-at-point))) (texi-docstring-magic-face-at-point))) (val (let ((enable-recursive-minibuffers t)) (completing-read |