(fortran-abbrev-start): Only offer help if abbrev-mode is active.
This commit is contained in:
parent
88ff724bdf
commit
1d97a48dc2
1 changed files with 3 additions and 2 deletions
|
@ -784,8 +784,9 @@ Any other key combination is executed normally."
|
|||
(interactive)
|
||||
(let (c)
|
||||
(insert last-command-char)
|
||||
(if (or (eq (setq c (read-event)) ??) ;insert char if not equal to `?'
|
||||
(eq c help-char))
|
||||
(if (and abbrev-mode
|
||||
(or (eq (setq c (read-event)) ??) ;insert char if not equal to `?'
|
||||
(eq c help-char)))
|
||||
(fortran-abbrev-help)
|
||||
(setq unread-command-events (list c)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue