Skip to content

Commit

Permalink
Merge branch 'breakpoint-column' into 'master'
Browse files Browse the repository at this point in the history
Put breakpoints at column 0

See merge request nico/Indium!7
  • Loading branch information
Nicolas Petton committed Nov 6, 2017
2 parents f7b46c9 + e6baf19 commit c15f5a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion indium-interaction.el
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ When CONDITION is non-nil, add a conditional breakpoint with
CONDITION."
(interactive)
(indium-interaction--guard-no-breakpoint-at-point)
(indium-breakpoint-add condition))
(save-excursion
(beginning-of-line)
(indium-breakpoint-add condition)))

(defun indium-add-conditional-breakpoint (condition)
"Add a breakpoint with CONDITION at point.
Expand Down

0 comments on commit c15f5a2

Please sign in to comment.