Variable: fortran-line-length
fortran-line-length is a customizable and buffer-local variable
defined in fortran.el.gz.
Documentation
Maximum number of characters in a line of fixed-form Fortran code.
Characters beyond this point are treated as comments. Setting
this variable directly (after fortran mode is loaded) does not
take effect. Use either M-x customize (customize) (which affects all Fortran
buffers and the default) or the function
fortran-line-length(var)/fortran-line-length(fun) (which can also operate on just the current
buffer). This corresponds to the g77 compiler option
-ffixed-line-length-N.
This variable was added, or its default value changed, in Emacs 23.1.
Probably introduced at or before Emacs version 23.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/fortran.el.gz
;; TODO 0 as no-limit, as per g77.
(defcustom fortran-line-length 72
"Maximum number of characters in a line of fixed-form Fortran code.
Characters beyond this point are treated as comments. Setting
this variable directly (after fortran mode is loaded) does not
take effect. Use either \\[customize] (which affects all Fortran
buffers and the default) or the function
`fortran-line-length' (which can also operate on just the current
buffer). This corresponds to the g77 compiler option
`-ffixed-line-length-N'."
:type 'integer
:safe 'integerp
:local t
:initialize 'custom-initialize-default
:set (lambda (_symbol value)
;; Do all fortran buffers, and the default.
(fortran-line-length value t))
:version "23.1"
:group 'fortran)