fix(init): Move ace-window-display-mode into hook function
For some reason that I can not be bothered to debug this mode will only work correctly if initialised from inside this hook function (or manually, after startup).
This commit is contained in:
		
							parent
							
								
									bdff24f52b
								
							
						
					
					
						commit
						09daca2fea
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		
							
								
								
									
										8
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								init.el
									
										
									
									
									
								
							|  | @ -152,19 +152,15 @@ | ||||||
|                    modes |                    modes | ||||||
|                    bindings |                    bindings | ||||||
|                    term-setup |                    term-setup | ||||||
|                    eshell-setup |                    eshell-setup)) | ||||||
|                    )) |  | ||||||
|   (telephone-line-setup) |   (telephone-line-setup) | ||||||
|  |   (ace-window-display-mode) | ||||||
| 
 | 
 | ||||||
|   (use-package sly |   (use-package sly | ||||||
|     :init (setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl")) |     :init (setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl")) | ||||||
|     ;;(add-to-list 'company-backends 'sly-company) |     ;;(add-to-list 'company-backends 'sly-company) | ||||||
|     )) |     )) | ||||||
| 
 | 
 | ||||||
| ;; Show previews of ace-window numbers in the mode line for each |  | ||||||
| ;; window. Initialising this in the package configuration does not |  | ||||||
| ;; work. |  | ||||||
| (ace-window-display-mode) |  | ||||||
| 
 | 
 | ||||||
| ;; Some packages can only be initialised after the rest of the | ;; Some packages can only be initialised after the rest of the | ||||||
| ;; settings has been applied: | ;; settings has been applied: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue