(fortran-abbrev-start): Only offer help if abbrev-mode is active.

This commit is contained in:
Glenn Morris 2003-04-12 15:44:59 +00:00
parent 88ff724bdf
commit 1d97a48dc2

View file

@ -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)))))