arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

Fix/etags moves point #64

Closed joddie closed 9 years ago

joddie commented 9 years ago

I've found that drupal-mode's etags integration sometimes causes point to jump around in the current file. This seems to be because find-file-no-select returns the existing, current buffer if the file in which a tag is located is already open. Adding a save-excursion fixes the issue.

arnested commented 9 years ago

Sounds very like. I'll merge it right away.

joddie commented 9 years ago

Thanks!

arnested commented 9 years ago

I'm the one thanking!