Fixed tidy-bug
This commit is contained in:
		
							parent
							
								
									244d6de1a9
								
							
						
					
					
						commit
						2aab6a592c
					
				@ -119,7 +119,7 @@ called autosaves located wherever your .emacs.d/ is located.")
 | 
				
			|||||||
        (end (if (region-active-p) (region-end)       (point-max))))
 | 
					        (end (if (region-active-p) (region-end)       (point-max))))
 | 
				
			||||||
    (whitespace-cleanup)
 | 
					    (whitespace-cleanup)
 | 
				
			||||||
    (indent-region beg end nil)
 | 
					    (indent-region beg end nil)
 | 
				
			||||||
 | 
					    (untabify (if (region-active-p) (region-beginning) (point-min))
 | 
				
			||||||
    (untabify beg end)))
 | 
					              (if (region-active-p) (region-end)       (point-max)))))
 | 
				
			||||||
;; bindes the tidy-function to C-TAB
 | 
					;; bindes the tidy-function to C-TAB
 | 
				
			||||||
(global-set-key (kbd "<C-tab>") 'tidy)
 | 
					(global-set-key (kbd "<C-tab>") 'tidy)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user