AnswerBun.com

speedbar sr-speedar flush cache and full expand current buffer when save it

Emacs Asked by Welgriv on November 2, 2020

I’m using sr-speedbar.

I would like it to automatically full expand current file buffer, and update the bar content when I save the current buffer.

I tried something like : (add-hook 'after-save-hook 'speedbar-flush-expand-line) in my init file but it does not work since my cursor is in my file buffer window.
The point is to have tags of file buffer always displayed and up to date with file content on disk.

Add your own answers!

Related Questions

Force Emacs to start in text mode

1  Asked on November 15, 2021 by ddc

 

Move point inside of image overlay

2  Asked on November 10, 2021 by cardano

     

Emacs 26.3: Weird frame title issue with KDE

1  Asked on November 10, 2021 by ed-sabol

 

How to call `org-sparse-tree` from Lisp?

1  Asked on September 2, 2021 by user2567544

 

Flycheck – Eslint: ‘config file: missing or incorrect’

1  Asked on September 2, 2021 by ben-krck

 

Emacs fails to open gnuplot files with extension .gp

1  Asked on September 2, 2021 by paul-c

 

Automatically activating python virtual environments with pyvenv

1  Asked on September 2, 2021 by jacob-pavlock

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir