aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorChristopher Zaborsky1992-10-25 19:44:06 +0000
committerChristopher Zaborsky1992-10-25 19:44:06 +0000
commitfe668515823c6d9408bbc5015ef5c8d1d5af8597 (patch)
tree24563d418bf0893610bd10f1b640da941b0d8c8c /lisp/progmodes
parentaccd90bd673f69a656918497a1a1c0706b0c9e54 (diff)
downloademacs-fe668515823c6d9408bbc5015ef5c8d1d5af8597.tar.gz
emacs-fe668515823c6d9408bbc5015ef5c8d1d5af8597.zip
Doc fix.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/fortran.el19
1 files changed, 9 insertions, 10 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 37bfff498e0..fafb49dcddb 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -481,7 +481,7 @@ Any other key combination is executed normally."
481 481
482(defun fortran-column-ruler () 482(defun fortran-column-ruler ()
483 "Inserts a column ruler momentarily above current line, till next keystroke. 483 "Inserts a column ruler momentarily above current line, till next keystroke.
484The ruler is defined by the value of fortran-column-ruler. 484The ruler is defined by the value of `fortran-column-ruler'.
485The key typed is executed unless it is SPC." 485The key typed is executed unless it is SPC."
486 (interactive) 486 (interactive)
487 (momentary-string-display 487 (momentary-string-display
@@ -490,7 +490,7 @@ The key typed is executed unless it is SPC."
490 490
491(defun fortran-window-create () 491(defun fortran-window-create ()
492 "Makes the window 72 columns wide. 492 "Makes the window 72 columns wide.
493See also fortran-window-create-momentarily." 493See also `fortran-window-create-momentarily'."
494 (interactive) 494 (interactive)
495 (condition-case error 495 (condition-case error
496 (progn 496 (progn
@@ -508,7 +508,7 @@ See also fortran-window-create-momentarily."
508(defun fortran-window-create-momentarily (&optional arg) 508(defun fortran-window-create-momentarily (&optional arg)
509 "Momentarily makes the window 72 columns wide. 509 "Momentarily makes the window 72 columns wide.
510Optional ARG non-nil and non-unity disables the momentary feature. 510Optional ARG non-nil and non-unity disables the momentary feature.
511See also fortran-window-create." 511See also `fortran-window-create'."
512 (interactive "p") 512 (interactive "p")
513 (if (or (not arg) 513 (if (or (not arg)
514 (= arg 1)) 514 (= arg 1))
@@ -937,8 +937,8 @@ Otherwise return a nil."
937 937
938(defun fortran-analyze-file-format () 938(defun fortran-analyze-file-format ()
939 "Return 0 if Fixed format is used, 1 if Tab formatting is used. 939 "Return 0 if Fixed format is used, 1 if Tab formatting is used.
940Use fortran-tab-mode-default if no non-comment statements are found in the 940Use `fortran-tab-mode-default' if no non-comment statements are found in the
941file before the end or the first fortran-analyze-depth lines." 941file before the end or the first `fortran-analyze-depth' lines."
942 (save-excursion 942 (save-excursion
943 (goto-char (point-min)) 943 (goto-char (point-min))
944 (setq i 0) 944 (setq i 0)
@@ -956,11 +956,10 @@ file before the end or the first fortran-analyze-depth lines."
956 (t 0)))) 956 (t 0))))
957 957
958(defun fortran-tab-mode (arg) 958(defun fortran-tab-mode (arg)
959 "Toggle fortran-tab-mode which indicates style of continuation lines. 959 "Toggle `fortran-tab-mode' which indicates style of continuation lines.
960With no argument, toggle on/off the tabbing mode of continuation lines. 960With no argument, toggle on/off the tabbing mode of continuation lines.
961If argument is a positive number, or non-nil if not a number, fortran-tab-mode 961If argument is a positive number, or non-nil if not a number,
962is turned on. Otherwise 962`fortran-tab-mode' is turned on. Otherwise `fortran-tab-mode' is false"
963If `fortran-tab-mode' is false"
964 (interactive "P") 963 (interactive "P")
965 (setq fortran-tab-mode 964 (setq fortran-tab-mode
966 (if (null arg) (not fortran-tab-mode) 965 (if (null arg) (not fortran-tab-mode)
@@ -987,7 +986,7 @@ Use the command fortran-tab-mode to toggle between this and fixed format style."
987 986
988(defun fortran-setup-fixed-format-style () 987(defun fortran-setup-fixed-format-style ()
989 "Set up fortran mode to use the column 6 mode of continuation lines. 988 "Set up fortran mode to use the column 6 mode of continuation lines.
990Use the command fortran-tab-mode to toggle between this and tab 989Use the command `fortran-tab-mode' to toggle between this and tab
991character format style." 990character format style."
992 (setq fortran-comment-line-column 6) 991 (setq fortran-comment-line-column 6)
993 (setq fortran-minimum-statement-indent 6) 992 (setq fortran-minimum-statement-indent 6)