Mercurial > emacs
comparison lisp/progmodes/fortran.el @ 1611:2701f8d53d25
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* fortran.el (fortran-abbrev-start, fortran-window-create-momentarily):
Same.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 16 Nov 1992 01:34:30 +0000 |
parents | cbed5e520f81 |
children | 65af7bcd5e31 |
comparison
equal
deleted
inserted
replaced
1610:fc2b0405bd87 | 1611:2701f8d53d25 |
---|---|
540 (let (c) | 540 (let (c) |
541 (insert last-command-char) | 541 (insert last-command-char) |
542 (if (or (= (setq c (read-char)) ??) ;insert char if not equal to `?' | 542 (if (or (= (setq c (read-char)) ??) ;insert char if not equal to `?' |
543 (= c help-char)) | 543 (= c help-char)) |
544 (fortran-abbrev-help) | 544 (fortran-abbrev-help) |
545 (setq unread-command-char c)))) | 545 (setq unread-command-event c)))) |
546 | 546 |
547 (defun fortran-abbrev-help () | 547 (defun fortran-abbrev-help () |
548 "List the currently defined abbrevs in Fortran mode." | 548 "List the currently defined abbrevs in Fortran mode." |
549 (interactive) | 549 (interactive) |
550 (message "Listing abbrev table...") | 550 (message "Listing abbrev table...") |
603 (save-window-excursion | 603 (save-window-excursion |
604 (if (not (equal (fortran-window-create) 'error)) | 604 (if (not (equal (fortran-window-create) 'error)) |
605 (progn (message "Type SPC to continue editing.") | 605 (progn (message "Type SPC to continue editing.") |
606 (let ((char (read-char))) | 606 (let ((char (read-char))) |
607 (or (equal char (string-to-char " ")) | 607 (or (equal char (string-to-char " ")) |
608 (setq unread-command-char char)))))) | 608 (setq unread-command-event char)))))) |
609 (fortran-window-create))) | 609 (fortran-window-create))) |
610 | 610 |
611 (defun fortran-split-line () | 611 (defun fortran-split-line () |
612 "Break line at point and insert continuation marker and alignment." | 612 "Break line at point and insert continuation marker and alignment." |
613 (interactive) | 613 (interactive) |