exwm-blocking-subrs: x-* functions may be missing on some Emacs builds
Avoid compiler warnings. Follow-up of https://github.com/ch11ng/exwm/pull/937.
This commit is contained in:
		
							parent
							
								
									2e79830e39
								
							
						
					
					
						commit
						c069e8195d
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								exwm.el
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								exwm.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -100,8 +100,9 @@
 | 
			
		|||
  :type 'hook)
 | 
			
		||||
 | 
			
		||||
(defcustom exwm-blocking-subrs
 | 
			
		||||
  (list #'x-file-dialog #'x-popup-dialog #'x-select-font
 | 
			
		||||
        #'message-box #'message-or-box)
 | 
			
		||||
  ;; `x-file-dialog' and `x-select-font' are missing on some Emacs builds, for
 | 
			
		||||
  ;; example on the X11 Lucid build.
 | 
			
		||||
  '(x-file-dialog x-popup-dialog x-select-font message-box message-or-box)
 | 
			
		||||
  "Subrs (primitives) that would normally block EXWM."
 | 
			
		||||
  :type '(repeat function))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue