From: Chong Yidong Date: Sat, 31 Oct 2009 18:43:37 +0000 (+0000) Subject: * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix X-Git-Tag: emacs-pretest-23.1.90~606 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26581f0e2bdc4d93c2da9978cd0516503c000d22;p=emacs.git * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix face property (Bug#4834). (etags-list-tags, etags-tags-apropos-additional) (etags-tags-apropos, tags-select-tags-table): Add follow-link property. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e7175142f3a..4b7d289c47d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,11 @@ 2009-10-31 Chong Yidong + * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix + face property (Bug#4834). + (etags-list-tags, etags-tags-apropos-additional) + (etags-tags-apropos, tags-select-tags-table): Add follow-link + property. + * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu items. diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 7a557e95974..015a2619d07 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -1402,7 +1402,8 @@ hits the start of file." (tag-find-file-of-tag (button-get button 'file-path)) (widen) (funcall goto-func tag-info))) - 'face 'tags-tag-face + 'follow-link t + 'face tags-tag-face 'type 'button)) (terpri) (forward-line 1)) @@ -1436,6 +1437,7 @@ hits the start of file." (button-get button 'item))) 'item sn 'face tags-tag-face + 'follow-link t 'type 'button) (terpri)))))) (when (symbolp symbs) @@ -1491,7 +1493,8 @@ hits the start of file." (tag-find-file-of-tag (button-get button 'file-path)) (widen) (funcall goto-func tag-info))) - 'face 'tags-tag-face + 'follow-link t + 'face tags-tag-face 'type 'button))) (princ (format "- %s" file-label)) (with-current-buffer standard-output @@ -1502,9 +1505,9 @@ hits the start of file." ;; Get the local value in the tags table ;; buffer before switching buffers. (goto-char (point-min))) - 'face 'tags-tag-face - 'type 'button)) - )) + 'follow-link t + 'face tags-tag-face + 'type 'button)))) (terpri) (forward-line 1)) (message nil)) @@ -1933,6 +1936,7 @@ directory specification." (define-button-type 'tags-select-tags-table 'action 'select-tags-table-select + 'follow-link t 'help-echo "RET, t or mouse-2: select tags table") ;; XXX If a file is in multiple tables, selection may get the wrong one.