Actually respect user’s choice of percentages
This commit is contained in:
		
							parent
							
								
									a7017ac0e1
								
							
						
					
					
						commit
						f6caf18f19
					
				@ -182,9 +182,9 @@ shortened name of the partitions with a long name."
 | 
				
			|||||||
                        (string-to-number percentage)
 | 
					                        (string-to-number percentage)
 | 
				
			||||||
                      percentage)))
 | 
					                      percentage)))
 | 
				
			||||||
    (cond
 | 
					    (cond
 | 
				
			||||||
     ((> percentage eshell-info-banner--percentage-critical)
 | 
					     ((>= percentage eshell-info-banner--percentage-critical)
 | 
				
			||||||
      'eshell-info-banner-critical-face)
 | 
					      'eshell-info-banner-critical-face)
 | 
				
			||||||
     ((> percentage eshell-info-banner--percentage-warning)
 | 
					     ((>= percentage eshell-info-banner--percentage-warning)
 | 
				
			||||||
      'eshell-info-banner-warning-face)
 | 
					      'eshell-info-banner-warning-face)
 | 
				
			||||||
     (t 'eshell-info-banner-normal-face))))
 | 
					     (t 'eshell-info-banner-normal-face))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user