ankurdave / color-identifiers-mode

Emacs minor mode to highlight each source code identifier uniquely based on its name
308 stars 23 forks source link

color-identifiers-mode.el: simplify while loop a bit #67

Closed Hi-Angel closed 4 years ago

Hi-Angel commented 4 years ago

Instead of throwing and catching an exception let's just pre-assign the variable. It take less code, less indentation, and is faster.

ankurdave commented 4 years ago

Thanks!