Emacs: helper functions for fringe bitmaps