3 Jun
2015
3 Jun
'15
4:40 a.m.
Hello: I want to be able to jump back, using C-o, to the position where I execute ggtags-find-tag-dwim. I have wrote this small program: (defun ggtags-go-to-definition () (interactive) (let ((current-pos (make-marker))) (add-to-list 'evil-jump-list current-pos) (ggtags-find-tag-dwim (thing-at-point 'symbol)))) But it gives me the error "Marker does not point anywhere". Can someone please tell me, how do I write this program correctly? That is, I want to store the position before executing `ggtags...` and then be able to jump back (using "C-o" a.k.a "evil-jump-back"). Thanks in advance for your kind help. Jenia