summaryrefslogtreecommitdiff
path: root/lisp/progmodes/fortran.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-03-06 06:08:40 +0000
committerRichard M. Stallman <rms@gnu.org>1993-03-06 06:08:40 +0000
commitd654e8ce599567b96d4e04f6b12a6353dacfd00f (patch)
treed799fb993c755c4fafe7de02ddc10b1e5e6f33ea /lisp/progmodes/fortran.el
parent07f6d4ae18f768326e24a6559d0808f5f01aec32 (diff)
downloademacs-d654e8ce599567b96d4e04f6b12a6353dacfd00f.tar.gz
(fortran-abbrev-start): Handle any kind of event.
(fortran-window-create-momentarily): Likewise.
Diffstat (limited to 'lisp/progmodes/fortran.el')
-rw-r--r--lisp/progmodes/fortran.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 5a987da372b..e4035940726 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -466,8 +466,8 @@ Any other key combination is executed normally."
(interactive)
(let (c)
(insert last-command-char)
- (if (or (= (setq c (read-char)) ??) ;insert char if not equal to `?'
- (= c help-char))
+ (if (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)))))
@@ -533,7 +533,7 @@ See also `fortran-window-create'."
(save-window-excursion
(if (not (equal (fortran-window-create) 'error))
(progn (message "Type SPC to continue editing.")
- (let ((char (read-char)))
+ (let ((char (read-event)))
(or (equal char (string-to-char " "))
(setq unread-command-events (list char)))))))
(fortran-window-create)))