From: Colin Walters Date: Sun, 17 Feb 2002 10:29:13 +0000 (+0000) Subject: (ibuffer-truncate-lines): New option. X-Git-Tag: ttn-vms-21-2-B4~16601 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3eda3649dbcdafbbefa1bd5c8385b3387295b65f;p=emacs.git (ibuffer-truncate-lines): New option. (ibuffer-mode): Use it. --- diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index e3ae9dcc5c4..32334f5a942 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -170,6 +170,11 @@ element with the highest PRIORITY takes precedence." :group 'ibuffer) (defvar ibuffer-shrink-to-minimum-size nil) +(defcustom ibuffer-truncate-lines t + "If non-nil, do not display continuation lines." + :type 'boolean + :group 'ibuffer) + (defcustom ibuffer-case-fold-search case-fold-search "If non-nil, ignore case when searching." :type 'boolean @@ -2098,7 +2103,7 @@ to disable all filtering currently in effect, use (setq mode-name "Ibuffer") (setq buffer-read-only t) (buffer-disable-undo) - (setq truncate-lines t) + (setq truncate-lines ibuffer-truncate-lines) ;; This makes things less ugly for Emacs 21 users with a non-nil ;; `show-trailing-whitespace'. (setq show-trailing-whitespace nil)