diff options
author | Glenn Morris <rgm@gnu.org> | 2018-03-08 08:29:14 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-03-08 08:29:14 -0800 |
commit | 43548b51cb94c15af41b61b90172e05b9443a39b (patch) | |
tree | 02b92328987a8c98f4e73a4081fb310ae1c83693 /doc/misc/speedbar.texi | |
parent | 50e2c0fb5180a757d8d533518f68837ffe5909be (diff) | |
parent | cb0d40eab406e7df22b09f7ae5557c820c087af4 (diff) | |
download | emacs-43548b51cb94c15af41b61b90172e05b9443a39b.tar.gz emacs-43548b51cb94c15af41b61b90172e05b9443a39b.tar.bz2 emacs-43548b51cb94c15af41b61b90172e05b9443a39b.zip |
Merge from origin/emacs-26
cb0d40e (origin/emacs-26) Minor change in the manual
7e26d83 More minor changes in the manual
6851754 Replace some obsolete aliases in code
6bcb48c Replace some obsolete aliases in documentation
317da2a Minor improvements in manuals
61c1f80 Minor copyedits in display.texi
d523e4a Remove some unused spam.el variables
501808c Replace some obsolete aliases in code
19afff3 Replace some obsolete aliases in documentation
c797bc9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
0efe0bd Obsolete eshell-cmpl-suffix-list
add48d2 More minor changes in the Glossary of the Emacs manual
f6bd7e0 Revert last commit
af4697f Define if-let* and derivatives as aliases for if-let etc
ec79bdc Minor fix in Emacs manual's Glossary
Diffstat (limited to 'doc/misc/speedbar.texi')
-rw-r--r-- | doc/misc/speedbar.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi index 1c1b014f54e..d67c4e61456 100644 --- a/doc/misc/speedbar.texi +++ b/doc/misc/speedbar.texi @@ -979,8 +979,8 @@ With a numeric argument (@kbd{C-u}), flush cached data before expanding. Contract the item under the cursor. @end table -@cindex @code{speedbar-line-path} -These function require that function @code{speedbar-line-path} be +@cindex @code{speedbar-line-directory} +These functions require that the function @code{speedbar-line-directory} be correctly overloaded to work. Next, register your extension like this; @@ -1013,14 +1013,14 @@ like this: (speedbar-add-mode-functions-list '("MYEXTENSION" (speedbar-item-info . MyExtension-speedbar-item-info) - (speedbar-line-path . MyExtension-speedbar-line-path))) + (speedbar-line-directory . MyExtension-speedbar-line-directory))) @end example The first element in the list is the name of you extension. The second is an alist of functions to overload. The function to overload is first, followed by what you want called instead. -For @code{speedbar-line-path} your function should take an optional DEPTH +For @code{speedbar-line-directory} your function should take an optional DEPTH parameter. This is the starting depth for heavily indented lines. If it is not provided, you can derive it like this: |