Emacs: Eshell: Fix display of nbsp, e.g. with 'tree'
parent
d3c32a2027
commit
36e153f979
|
@ -416,6 +416,9 @@ This does not interfere with `subword-mode'."
|
|||
(set (make-local-variable 'paragraph-start) "
|
||||
"))
|
||||
|
||||
(defun turn-off-nobreak-char-display ()
|
||||
(set (make-local-variable 'nobreak-char-display) nil))
|
||||
|
||||
(defun turn-on-skeleton-markers ()
|
||||
"Allow skeletons to make markers to ease field navigation."
|
||||
(add-hook 'skeleton-end-hook 'skeleton-make-markers))
|
||||
|
|
|
@ -68,6 +68,10 @@
|
|||
(add-to-list 'eshell-command-aliases-list alias))
|
||||
(eshell-write-aliases-list))
|
||||
|
||||
;;; Hooks
|
||||
;;; `nobreak-char-display' makes some output look weird, e.g. with 'tree'.
|
||||
(add-hook 'eshell-mode-hook 'turn-off-nobreak-char-display)
|
||||
|
||||
;;; Emacs' standard functions fail when output has empty lines.
|
||||
;;; This implementation is more reliable.
|
||||
;;; DONE: Reported upstream:
|
||||
|
|
Loading…
Reference in New Issue