Derive Emacs nix-mode from prog-mode.
Emacs 24.1 introduced the notion of "basic major modes" and among these is prog-mode, see section "23.2.5 Basic Major Modes" in the Emacs manual. The prog-mode basic major mode is recommended as a base for derived major modes that are intended for editing source code.
This commit is contained in:
		
							parent
							
								
									a2fc9c6b57
								
							
						
					
					
						commit
						eca29bd72d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -45,7 +45,7 @@ | |||
| 
 | ||||
| 
 | ||||
| ;;;###autoload | ||||
| (define-derived-mode nix-mode fundamental-mode "Nix" | ||||
| (define-derived-mode nix-mode prog-mode "Nix" | ||||
|   "Major mode for editing Nix expressions. | ||||
| 
 | ||||
| The following commands may be useful: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue