# HG changeset patch # User Glenn Morris # Date 1050162359 0 # Node ID 6ee9d94eaca3fd4e8d9555300f692f6a039e9faf # Parent aab211655bcdd18134bffbf52aa00cbdf2228333 (f90-abbrev-start): Only offer help if abbrev-mode is active. diff -r aab211655bcd -r 6ee9d94eaca3 lisp/progmodes/f90.el --- a/lisp/progmodes/f90.el Sat Apr 12 15:44:59 2003 +0000 +++ b/lisp/progmodes/f90.el Sat Apr 12 15:45:59 2003 +0000 @@ -1677,8 +1677,8 @@ (setq c (if (fboundp 'next-command-event) ; XEmacs (event-to-character (next-command-event)) (read-event))) - ;; Insert char if not equal to `?'. - (if (or (eq c ??) (eq c help-char)) + ;; Insert char if not equal to `?', or if abbrev-mode is off. + (if (and abbrev-mode (or (eq c ??) (eq c help-char))) (f90-abbrev-help) (setq unread-command-events (list c)))))