update to dnd
This commit is contained in:
		
							parent
							
								
									347619eae6
								
							
						
					
					
						commit
						b9f59c6b80
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -5461,6 +5461,7 @@ Using emacs to run rpg things
 | 
			
		|||
(add-to-list 'load-path "/home/chris/dev/emacs-rpgdm/")
 | 
			
		||||
(use-package rpgdm
 | 
			
		||||
  :config
 | 
			
		||||
  (setq chris/dnd-character "radon")
 | 
			
		||||
 | 
			
		||||
  (defun chris/dnd-get-table (table range)
 | 
			
		||||
    "Get a list of the contents of any `table' and use `range' to get the info"
 | 
			
		||||
| 
						 | 
				
			
			@ -5474,7 +5475,7 @@ Using emacs to run rpg things
 | 
			
		|||
    (let* ((skills (with-current-buffer
 | 
			
		||||
                                         (find-file-noselect "~/docs/notes/20240804T132141--dungeons-and-dragons__area_fun_personal.org")
 | 
			
		||||
                                       (org-table-get-remote-range
 | 
			
		||||
                                        "skills" "@I$1..@II$2")))
 | 
			
		||||
                                        (concat "skills" "-" chris/dnd-character) "@I$1..@II$2")))
 | 
			
		||||
             (skill (completing-read "Which skill: "
 | 
			
		||||
                                     (seq-filter
 | 
			
		||||
                                      'stringp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -4020,6 +4020,7 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
(add-to-list 'load-path "/home/chris/dev/emacs-rpgdm/")
 | 
			
		||||
(use-package rpgdm
 | 
			
		||||
  :config
 | 
			
		||||
  (setq chris/dnd-character "radon")
 | 
			
		||||
 | 
			
		||||
  (defun chris/dnd-get-table (table range)
 | 
			
		||||
    "Get a list of the contents of any `table' and use `range' to get the info"
 | 
			
		||||
| 
						 | 
				
			
			@ -4033,7 +4034,7 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
    (let* ((skills (with-current-buffer
 | 
			
		||||
                                         (find-file-noselect "~/docs/notes/20240804T132141--dungeons-and-dragons__area_fun_personal.org")
 | 
			
		||||
                                       (org-table-get-remote-range
 | 
			
		||||
                                        "skills" "@I$1..@II$2")))
 | 
			
		||||
                                        (concat "skills" "-" chris/dnd-character) "@I$1..@II$2")))
 | 
			
		||||
             (skill (completing-read "Which skill: "
 | 
			
		||||
                                     (seq-filter
 | 
			
		||||
                                      'stringp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue