+ bool neighbor_found = false;
+ for (SCM adj = me->get_property ("adjacent-hairpins");
+ scm_is_pair (adj); adj = scm_cdr (adj))
+ {
+ /*
+ FIXME: this will fuck up in case of polyphonic
+ notes in other voices. Need to look at note-columns
+ in the current staff/voice.
+ */
+
+ Spanner *pin = unsmob_spanner (scm_car (adj));
+ if (pin
+ && (pin->get_bound (LEFT)->get_column() == b->get_column ()
+ || pin->get_bound (RIGHT)->get_column() == b->get_column() ))
+ neighbor_found = true;
+ }
+