Beep to call consult instead of counsel.
This commit is contained in:
		
							parent
							
								
									6aa3efdf54
								
							
						
					
					
						commit
						8603f538c2
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -46,11 +46,11 @@ as this can be pretty distracting."
 | 
				
			||||||
  (beep--speak phrase))
 | 
					  (beep--speak phrase))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defun compile-and-notify ()
 | 
					(defun compile-and-notify ()
 | 
				
			||||||
  "Call `counsel-compile' and notify us when finished.
 | 
					  "Call `compile' and notify us when finished.
 | 
				
			||||||
See `beep--when-finished' for details."
 | 
					See `beep--when-finished' for details."
 | 
				
			||||||
  (interactive)
 | 
					  (interactive)
 | 
				
			||||||
  (let ((root (projectile-project-root)))
 | 
					  (let ((default-directory (projectile-project-root)))
 | 
				
			||||||
    (counsel-compile root)
 | 
					    (call-interactively 'compile)
 | 
				
			||||||
    (beep--when-finished "The compile command has finished.")))
 | 
					    (beep--when-finished "The compile command has finished.")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defvar beep-func-too-long-time 5
 | 
					(defvar beep-func-too-long-time 5
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue