diff options
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 |
