mirror of
				https://github.com/larstvei/dot-emacs.git
				synced 2025-11-04 09:20:11 +00:00 
			
		
		
		
	Use the beautiful Hasklig font when available
This commit is contained in:
		
							parent
							
								
									8deadfe74e
								
							
						
					
					
						commit
						98e12fc1e4
					
				
							
								
								
									
										4
									
								
								init.org
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.org
									
									
									
									
									
								
							@ -408,8 +408,8 @@
 | 
				
			|||||||
   Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
 | 
					   Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   #+BEGIN_SRC emacs-lisp
 | 
					   #+BEGIN_SRC emacs-lisp
 | 
				
			||||||
   (cond ((member "Source Code Pro" (font-family-list))
 | 
					   (cond ((member "Hasklig" (font-family-list))
 | 
				
			||||||
          (set-face-attribute 'default nil :font "Source Code Pro-13"))
 | 
					          (set-face-attribute 'default nil :font "Hasklig-14"))
 | 
				
			||||||
         ((member "Inconsolata" (font-family-list))
 | 
					         ((member "Inconsolata" (font-family-list))
 | 
				
			||||||
          (set-face-attribute 'default nil :font "Inconsolata-14")))
 | 
					          (set-face-attribute 'default nil :font "Inconsolata-14")))
 | 
				
			||||||
   #+END_SRC
 | 
					   #+END_SRC
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user