Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e131e4ff
Commit
e131e4ff
authored
Aug 13, 2014
by
Leo Liu
Browse files
* speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.
parent
2b0cb8b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/speedbar.el
lisp/speedbar.el
+6
-3
No files found.
lisp/ChangeLog
View file @
e131e4ff
2014-08-13 Leo Liu <sdl.web@gmail.com>
* speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.
2014-08-11 Glenn Morris <rgm@gnu.org>
* subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
...
...
lisp/speedbar.el
View file @
e131e4ff
...
...
@@ -2124,6 +2124,7 @@ cell of the form ( 'DIRLIST . 'FILELIST )."
;;
;; A generic list is of the form:
;; ( ("name" . marker-or-number) <-- one tag at this level
;; ("name" marker-or-number goto-fun . args) <-- one tag at this level
;; ("name" ("name" . mon) ("name" . mon) ) <-- one group of tags
;; ("name" mon ("name" . mon) ) <-- group w/ a position and tags
(defun speedbar-generic-list-group-p (sublst)
...
...
@@ -2156,6 +2157,8 @@ Groups may optionally contain a position."
(and (stringp (car-safe sublst))
(or (and (number-or-marker-p (cdr-safe sublst))
(not (cdr-safe (cdr-safe sublst))))
(ignore-errors (and (number-or-marker-p (nth 1 sublst))
(functionp (nth 2 sublst))))
;; For semantic/bovine items, this is needed
(symbolp (car-safe (cdr-safe sublst))))
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment