mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Remove XEmacs compat code from cedet
* lisp/cedet/srecode/mode.el (srecode-menu-bar): * lisp/cedet/semantic/wisent/comp.el (wisent-debug-flag) (wisent-print-results): * lisp/cedet/semantic/util-modes.el (semantic-stickyfunc-indent-string) (semantic-stickyfunc-header-line-format) (semantic-highlight-func-mode-map): * lisp/cedet/semantic/symref/list.el (semantic-symref-list-menu-entries): * lisp/cedet/semantic/idle.el () (semantic-idle-breadcrumbs-popup-menu): * lisp/cedet/semantic/grammar.el (semantic-grammar-item-value) (semantic-grammar-create-package) (semantic-grammar-batch-build-packages) (semantic-grammar-setup-menu): * lisp/cedet/semantic/fw.el (semantic-overlay-live-p) (semantic-event-window, semantic-make-local-hook) (semantic-run-mode-hooks, semantic-subst-char-in-string) (semantic-menu-item, semantic-find-file-noselect): * lisp/cedet/semantic/format.el (semantic-format-face-alist) (semantic--format-colorize-merge-text): * lisp/cedet/semantic/decorate/include.el () (semantic-decoration-on-include-menu) (semantic-decoration-on-unknown-include-menu) (semantic-decoration-on-fileless-include-menu) (semantic-decoration-on-unparsed-include-menu): * lisp/cedet/semantic/decorate.el (semantic-set-tag-read-only) (semantic-tag-read-only-p): * lisp/cedet/mode-local.el (activate-mode-local-bindings): * lisp/cedet/data-debug.el (data-debug-overlay-properties): Remove XEmacs compat code.
This commit is contained in:
parent
86c3d9280e
commit
e383aade0f
12 changed files with 288 additions and 496 deletions
|
|
@ -1114,65 +1114,61 @@ be called."
|
|||
"Semantic Breadcrumbs Mode Menu"
|
||||
(list
|
||||
"Breadcrumb Tag"
|
||||
(semantic-menu-item
|
||||
(vector
|
||||
"Go to Tag"
|
||||
(semantic-idle-breadcrumbs--tag-function
|
||||
semantic-go-to-tag)
|
||||
:active t
|
||||
:help "Jump to this tag"))
|
||||
(vector
|
||||
"Go to Tag"
|
||||
(semantic-idle-breadcrumbs--tag-function
|
||||
semantic-go-to-tag)
|
||||
:active t
|
||||
:help "Jump to this tag")
|
||||
;; TODO these entries need minor changes (optional tag argument) in
|
||||
;; senator-copy-tag etc
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Copy Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-copy-tag)
|
||||
;; :active t
|
||||
;; :help "Copy this tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Kill Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-kill-tag)
|
||||
;; :active t
|
||||
;; :help "Kill tag text to the kill ring, and copy the tag to
|
||||
;; the tag ring"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Copy Tag to Register"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-copy-tag-to-register)
|
||||
;; :active t
|
||||
;; :help "Copy this tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Narrow to Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-narrow-to-defun)
|
||||
;; :active t
|
||||
;; :help "Narrow to the bounds of the current tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Fold Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-fold-tag-toggle)
|
||||
;; :active t
|
||||
;; :style 'toggle
|
||||
;; :selected '(let ((tag (semantic-current-tag)))
|
||||
;; (and tag (semantic-tag-folded-p tag)))
|
||||
;; :help "Fold the current tag to one line"))
|
||||
"---"
|
||||
(semantic-menu-item
|
||||
(vector
|
||||
"About this Header Line"
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(describe-function 'semantic-idle-breadcrumbs-mode))
|
||||
:active t
|
||||
:help "Display help about this header line."))
|
||||
)
|
||||
)
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Copy Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-copy-tag)
|
||||
;; :active t
|
||||
;; :help "Copy this tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Kill Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-kill-tag)
|
||||
;; :active t
|
||||
;; :help "Kill tag text to the kill ring, and copy the tag to
|
||||
;; the tag ring"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Copy Tag to Register"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-copy-tag-to-register)
|
||||
;; :active t
|
||||
;; :help "Copy this tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Narrow to Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-narrow-to-defun)
|
||||
;; :active t
|
||||
;; :help "Narrow to the bounds of the current tag"))
|
||||
;; (semantic-menu-item
|
||||
;; (vector
|
||||
;; "Fold Tag"
|
||||
;; (semantic-idle-breadcrumbs--tag-function
|
||||
;; senator-fold-tag-toggle)
|
||||
;; :active t
|
||||
;; :style 'toggle
|
||||
;; :selected '(let ((tag (semantic-current-tag)))
|
||||
;; (and tag (semantic-tag-folded-p tag)))
|
||||
;; :help "Fold the current tag to one line"))
|
||||
"---"
|
||||
(vector
|
||||
"About this Header Line"
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(describe-function 'semantic-idle-breadcrumbs-mode))
|
||||
:active t
|
||||
:help "Display help about this header line.")))
|
||||
|
||||
(define-semantic-idle-service semantic-idle-breadcrumbs
|
||||
"Display breadcrumbs for the tag under point and its parents."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue