emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e22cca7 3/4: Remove pre-customize dired-x.el docume


From: Reuben Thomas
Subject: [Emacs-diffs] master e22cca7 3/4: Remove pre-customize dired-x.el documentation
Date: Fri, 2 Dec 2016 16:09:36 +0000 (UTC)

branch: master
commit e22cca7d23eb9e91b2923cbdad8042e4a4c69811
Author: Reuben Thomas <address@hidden>
Commit: Reuben Thomas <address@hidden>

    Remove pre-customize dired-x.el documentation
    
    * lisp/dired-x.el (Commentary): Remove USAGE section explaining how to
    use dired-x from .emacs.  It is now fully customizable.
    * lisp/dired-x.el (dired-guess-shell-alist-user): Remove explanation of
    how to set this custom variable in .emacs.  It should be customized.
---
 lisp/dired-x.el |   26 +-------------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 5a0d883..2bebb69 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -29,20 +29,6 @@
 ;; This is based on Sebastian Kremer's excellent dired-x.el (Dired Extra),
 ;; version 1.191, adapted for GNU Emacs.  See the `dired-x' info pages.
 
-;; USAGE: In your ~/.emacs,
-;;
-;; (add-hook 'dired-load-hook
-;;           (lambda ()
-;;                       (load "dired-x")
-;;                       ;; Set global variables here.  For example:
-;;                       ;; (setq dired-guess-shell-gnutar "gtar")
-;;                       ))
-;; (add-hook 'dired-mode-hook
-;;           (lambda ()
-;;                       ;; Set buffer-local variables here.  For example:
-;;                       ;; (dired-omit-mode 1)
-;;                       ))
-;;
 ;; At load time dired-x.el will install itself and bind some dired keys.
 ;; Some dired.el and dired-aux.el functions have extra features if
 ;; dired-x is loaded.
@@ -1106,17 +1092,7 @@ and the rest will be added temporarily to the history 
and can be retrieved
 with \\[previous-history-element] (M-p) .
 
 The variable `dired-guess-shell-case-fold-search' controls whether
-REGEXP is matched case-sensitively.
-
-You can set this variable in your ~/.emacs.  For example, to add rules for
-`.foo' and `.bar' files, write
-
- (setq dired-guess-shell-alist-user
-        '((\"\\\\.foo\\\\'\" \"FOO-COMMAND\")
-          (\"\\\\.bar\\\\'\"
-           (if condition
-              \"BAR-COMMAND-1\"
-            \"BAR-COMMAND-2\"))))"
+REGEXP is matched case-sensitively."
   :group 'dired-x
   :type '(alist :key-type regexp :value-type (repeat sexp)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]