Function: ebrowse-set-tree-indentation

ebrowse-set-tree-indentation is an interactive and byte-compiled function defined in ebrowse.el.gz.

Signature

(ebrowse-set-tree-indentation)

Documentation

Set the indentation width of the tree display.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
;;; Misc tree buffer commands

(defun ebrowse-set-tree-indentation ()
  "Set the indentation width of the tree display."
  (interactive)
  (let ((width (string-to-number (read-string
                                  (concat "Indentation (default "
                                          (int-to-string ebrowse--indentation)
                                          "): ")
                                  nil nil ebrowse--indentation))))
    (when (cl-plusp width)
      (setq-local ebrowse--indentation width)
      (ebrowse-redraw-tree))))