aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2005-07-16 18:42:26 +0000
committerRichard M. Stallman <[email protected]>2005-07-16 18:42:26 +0000
commit2c948571861839f7f1d65e8bc293e43dd88a805f (patch)
treec9035bc66830bf5d293bd55215a0e96ef14808b9 /lisp/progmodes
parent434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b (diff)
(f90-abbrev-start): Avoid warning.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/f90.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 99d33553f5..02fe9c5f11 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1790,7 +1790,8 @@ Any other key combination is executed normally."
(let (char event)
(if (fboundp 'next-command-event) ; XEmacs
(setq event (next-command-event)
- char (event-to-character event))
+ char (and (fboundp 'event-to-character)
+ (event-to-character event)))
(setq event (read-event)
char event))
;; Insert char if not equal to `?', or if abbrev-mode is off.