changeset 43382:6d5695dd7639

(ibuffer-truncate-lines): New option. (ibuffer-mode): Use it.
author Colin Walters <walters@gnu.org>
date Sun, 17 Feb 2002 10:29:13 +0000
parents c27a4c38e3d9
children d21a74d23497
files lisp/ibuffer.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Sun Feb 17 10:28:52 2002 +0000
+++ b/lisp/ibuffer.el	Sun Feb 17 10:29:13 2002 +0000
@@ -170,6 +170,11 @@
   :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 @@
   (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)