mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(info-complete-symbol): If MODE is nil, use the default value.
This commit is contained in:
parent
5a79736d82
commit
82fb111c22
1 changed files with 7 additions and 6 deletions
|
|
@ -465,12 +465,13 @@ Return nil if there is nothing appropriate."
|
|||
;;;###autoload
|
||||
(defun info-complete-symbol (&optional mode)
|
||||
"Perform completion on symbol preceding point."
|
||||
(interactive
|
||||
(list (if (info-lookup->mode-value
|
||||
'symbol (or info-lookup-mode major-mode))
|
||||
(or info-lookup-mode major-mode)
|
||||
(info-lookup-change-mode 'symbol))))
|
||||
(info-complete 'symbol mode))
|
||||
(interactive)
|
||||
(info-complete 'symbol
|
||||
(or mode
|
||||
(if (info-lookup->mode-value
|
||||
'symbol (or info-lookup-mode major-mode))
|
||||
(or info-lookup-mode major-mode)
|
||||
(info-lookup-change-mode 'symbol)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun info-complete-file (&optional mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue