 
 ;; More Rust Mode in init.el
 
-(add-hook 'rust-mode-hook 'variable-pitch-mode-jgd)
+(defun rust-mode-jgd ()
+	(variable-pitch-mode-jgd)
+	(setq orgstruct-heading-prefix-regexp "// ")
+	(orgstruct-mode)
+)
+
+(add-hook 'rust-mode-hook 'rust-mode-jgd)
 
 ;; Shell Mode
 

	;; objc-mode-map, java-mode-map, and idl-mode-map
	;; all inherit from it.
  (define-key c-mode-base-map "\C-m" 'newline-and-indent)
)

;; PHP Mode


;; SQL Mode

(defun sql-mode-jgd ()
	(variable-pitch-mode-jgd)
	(setq orgstruct-heading-prefix-regexp "-- ")
	(orgstruct-mode)
)
(add-hook 'sql-mode-hook 'sql-mode-jgd)

;;; Key Settings

