Correct error message in user/tempel-include
This commit is contained in:
		
							parent
							
								
									5546b458fb
								
							
						
					
					
						commit
						3c3ae72a63
					
				
							
								
								
									
										2
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.el
									
									
									
									
									
								
							@ -1620,7 +1620,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
 | 
				
			|||||||
    (when (eq (car-safe elem) 'i)
 | 
					    (when (eq (car-safe elem) 'i)
 | 
				
			||||||
      (if-let (template (alist-get (cadr elem) (tempel--templates)))
 | 
					      (if-let (template (alist-get (cadr elem) (tempel--templates)))
 | 
				
			||||||
          (cons 'l (user/tempel-subst-names template (caddr elem)))
 | 
					          (cons 'l (user/tempel-subst-names template (caddr elem)))
 | 
				
			||||||
        (message "tempel-include: Template not found: %s" (cadr elem)))))
 | 
					        (message "user/tempel-include: Template not found: %s" (cadr elem)))))
 | 
				
			||||||
  (defun user/tempel-setup-capf ()
 | 
					  (defun user/tempel-setup-capf ()
 | 
				
			||||||
    "Add `tempel-complete' to `completion-at-point-functions' (buffer-local).
 | 
					    "Add `tempel-complete' to `completion-at-point-functions' (buffer-local).
 | 
				
			||||||
If `tempel-complete' is already a member of `completion-at-point-functions', it
 | 
					If `tempel-complete' is already a member of `completion-at-point-functions', it
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user