mirror of
				https://github.com/m00natic/vlfi.git
				synced 2025-10-31 07:03:35 +00:00 
			
		
		
		
	Fix `vlfi-if-file-too-large' to be more tolerable on GNU Emacs 23.
This commit is contained in:
		
							
								
								
									
										11
									
								
								vlfi.el
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								vlfi.el
									
									
									
									
									
								
							| @@ -264,11 +264,14 @@ OP-TYPE specifies the file operation being performed over FILENAME." | |||||||
|          (while (not (memq (setq char |          (while (not (memq (setq char | ||||||
|                                  (read-event |                                  (read-event | ||||||
|                                   (propertize |                                   (propertize | ||||||
|                                    (format "File %s is large (%s): \ |                                    (format | ||||||
|  |                                     "File %s is large (%s): \ | ||||||
| %s normally (o), %s with vlfi (v) or abort (a)" | %s normally (o), %s with vlfi (v) or abort (a)" | ||||||
|                                            (file-name-nondirectory filename) |                                     (if filename | ||||||
|                                            (file-size-human-readable size) |                                         (file-name-nondirectory filename) | ||||||
|                                            op-type op-type) |                                       "") | ||||||
|  |                                     (file-size-human-readable size) | ||||||
|  |                                     op-type op-type) | ||||||
|                                    'face 'minibuffer-prompt))) |                                    'face 'minibuffer-prompt))) | ||||||
|                            '(?o ?O ?v ?V ?a ?A)))) |                            '(?o ?O ?v ?V ?a ?A)))) | ||||||
|          (cond ((memq char '(?o ?O))) |          (cond ((memq char '(?o ?O))) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user