Skip to content

Instantly share code, notes, and snippets.

@ZedThree
Created August 2, 2013 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZedThree/6139918 to your computer and use it in GitHub Desktop.
Save ZedThree/6139918 to your computer and use it in GitHub Desktop.
Insert namelist function for f90-namelist mode
(defun insert-f90-namelist (name)
"Insert a new f90 namelist"
(interactive "sNamelist name: ")
(insert (format "/&%s" name))
(funcall f90-auto-keyword-case -1)
(insert "\n\n/")
(previous-line))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment