diff --git a/plantuml-mode.el b/plantuml-mode.el index c2aa08b..5d2fb95 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -71,7 +71,7 @@ (shell-quote-argument plantuml-jar-path) " -language") (current-buffer)) (goto-char (point-min)) - (let ((found (search-forward ";" nil nil)) + (let ((found (search-forward ";" nil t)) (word "") (count 0) (pos 0)) @@ -189,4 +189,5 @@ Shortcuts Command Name (run-mode-hooks 'plantuml-mode-hook)) (provide 'plantuml-mode) -;;; plantuml-mode.el ends here \ No newline at end of file +;;; plantuml-mode.el ends here +