home *** CD-ROM | disk | FTP | other *** search
- To whoever it may concern:
-
- When etags is loaded, the following lines are executed at top level:
-
- etags> ;; Sample uses of find-tag-hook and find-tag-default-hook
- etags> ;; Example buffer-local tag finding
- etags> (or (boundp 'emacs-lisp-mode-hook)
- etags> (setq emacs-lisp-mode-hook nil))
- etags> (if (eq (car-safe emacs-lisp-mode-hook) 'lambda)
- etags> (setq emacs-lisp-mode-hook (list emacs-lisp-mode-hook)))
- etags> (or (memq 'setup-emacs-lisp-default-tag-hook emacs-lisp-mode-hook)
- etags> (setq emacs-lisp-mode-hook
- etags> (cons 'setup-emacs-lisp-default-tag-hook emacs-lisp-mode-hook)))
-
- I have the following lines in my .emacs:
-
- .emacs> (defun my-lisp-hook ()
- .emacs> (setq comment-start "; ")
- .emacs> (modify-syntax-entry ?- "w"))
- .emacs> (setq emacs-lisp-mode-hook 'my-lisp-hook)
-
- my-lisp-hook is a legal hook, but etags does not accept it. I get an
- error in the line with "memq".
-
- Regards,
- Thorbjoern
-
-
- --
- ThH, Thorbjoern Hansen, hansen@forwiss.uni-passau.de, thansen@diku.dk
- You may write in German, Spanish, Swedish, Danish or even English.
- I collect emacs lisp files. Mail me (the name of) your favorite.
-
-