Fixed bug in which no mark is active but previous marks would trigger preview on a region instead of the whole buffer. Possibly related to #26
This commit is contained in:
parent
4bdb8ebb92
commit
ae0f58295c
|
@ -266,7 +266,7 @@ Uses prefix (as PREFIX) to choose where to display it:
|
|||
- 16 (when prefixing the command with C-u C-u) -> new frame.
|
||||
- else -> new buffer"
|
||||
(interactive "p")
|
||||
(if (mark)
|
||||
(if mark-active
|
||||
(plantuml-preview-region prefix)
|
||||
(plantuml-preview-buffer prefix)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue