Hide "Set Tags File Name" and the separator when tags are not used
commit21f9a9513a7a91ed630412b4c48ad29a5cabc71f
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 30 Dec 2014 03:18:48 +0000 (30 05:18 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 30 Dec 2014 03:18:48 +0000 (30 05:18 +0200)
tree88e955a26895afa8be646590933123d1eba61405
parent8ae52a77036340ca03f819f4bdb7738d48ce2d8c
Hide "Set Tags File Name" and the separator when tags are not used

* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): New function.
(menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
and `separator-tag-file' items.
lisp/ChangeLog
lisp/menu-bar.el