Remove some obsolete compat code in fortran.el
* lisp/progmodes/fortran.el (fortran-abbrev-start): Remove obsolete compat code. This file uses modern features.
This commit is contained in:
parent
ddb26f79b2
commit
a94cbaab9f
1 changed files with 2 additions and 6 deletions
|
@ -1040,13 +1040,9 @@ With non-nil ARG, uncomments the region."
|
|||
Any other key combination is executed normally."
|
||||
(interactive "*")
|
||||
(insert last-command-event)
|
||||
(let* ((event (if (fboundp 'next-command-event) ; XEmacs
|
||||
(next-command-event)
|
||||
(read-event)))
|
||||
(char (if (fboundp 'event-to-character)
|
||||
(event-to-character event) event)))
|
||||
(let ((event (read-event)))
|
||||
;; Insert char if not equal to `?', or if abbrev-mode is off.
|
||||
(if (and abbrev-mode (or (eq char ??) (eq char help-char)
|
||||
(if (and abbrev-mode (or (eq event ??) (eq event help-char)
|
||||
(memq event help-event-list)))
|
||||
(fortran-abbrev-help)
|
||||
(push event unread-command-events))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue