put history of etags in bookmark

 

File modified: lisp/emacs.d/ivan-start.el

Change295 at Sun May 30 13:19:37 2010 +0200 by Ivan Kanis <ivan@tao>

diff -r 6cbc37037d36 -r 778cf21c537d lisp/emacs.d/ivan-start.el
--- a/lisp/emacs.d/ivan-start.el	Sat May 29 19:41:27 2010 +0200
+++ b/lisp/emacs.d/ivan-start.el	Sun May 30 13:19:37 2010 +0200
@@ -22,9 +22,14 @@
 ;; Turn on windmove
 (windmove-default-keybindings)
 
+;; put etags information in bookmark
+(defun ivan-etags-bookmark ()
+  (bookmark-set tagname))
+
+(add-hook 'find-tag-hook 'ivan-etags-bookmark)
+
 ;; Copyright (C) 2007 Ivan Kanis
 ;; Author: Ivan Kanis
-;; 
 ;;
 ;; This program is free software ; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by


back