For an edit-indirect buffer to open with the contents of the codeblock.
Actual BehaviorThe following backtrace.
Steps to ReproduceBuffer like this with cursor in the middle of the codeblock:
``` ini
[/Script/EngineSettings.GameMapsSettings]
+GameModeMapPrefixes=(Name="DM",GameMode="/Script/UnrealTournament.UTDMGameMode")
+GameModeClassAliases=(Name="DM",GameMode="/Script/UnrealTournament.UTDMGameMode")
```
This only seems to happen for languages that don't have obvious mappings between codeblock language marker and emacs mode, so I wonder if it's related to the changes made for #251 , something about this comment #251 (comment) or the one after it. Sorry it's been a while since I wrote that.
BacktraceDebugger entered--Lisp error: (void-function nil)
nil()
#f(compiled-function (parent-buffer beg end) #<bytecode>)(#<buffer asdf> 11 218)
edit-indirect--create-indirect-buffer(11 218 #<overlay from 11 to 218 in asdf>)
edit-indirect--get-edit-indirect-buffer(11 218)
edit-indirect-region(11 218 display-buffer)
markdown-edit-code-block()
funcall-interactively(markdown-edit-code-block)
call-interactively(markdown-edit-code-block nil nil)
command-execute(markdown-edit-code-block)
Software Versions
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4