]> code.delx.au - gnu-emacs/commitdiff
2004-05-13 John Wiegley <johnw@newartisans.com>
authorJohn Wiegley <johnw@newartisans.com>
Fri, 14 May 2004 01:02:10 +0000 (01:02 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Fri, 14 May 2004 01:02:10 +0000 (01:02 +0000)
* iswitchb.el (iswitchb-use-virtual-buffers): Only turn on
`recentf-mode' if this variable has been customized to t.

lisp/iswitchb.el

index 9b124848b182ee450bda75f50d61a3be89ea83ab..bda0ce4fddc45eb39a3ead387a3f192e94775399 100644 (file)
@@ -315,7 +315,7 @@ enabled if this variable is configured to a non-nil value."
   :require 'recentf
   :set (function
        (lambda (sym value)
-         (recentf-mode value)
+         (if value (recentf-mode 1))
          (set sym value)))
   :group 'iswitchb)