summaryrefslogtreecommitdiff
path: root/common.el
diff options
context:
space:
mode:
Diffstat (limited to 'common.el')
-rw-r--r--common.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/common.el b/common.el
index e983e6d..73d00c8 100644
--- a/common.el
+++ b/common.el
@@ -192,6 +192,29 @@ the window to the function with max-height equal to
(* durand-window-max-height
(frame-height (window-frame window))))))
+;;; Rebinding a key in Info mode
+
+(define-key Info-mode-map (vector 41) #'Info-forward-node)
+
+;;; Fix a Tramp arg
+
+(require 'tramp)
+
+(cond
+ ((assoc "rsync" tramp-methods #'equal)
+ (setcar
+ (cdr
+ (assoc
+ 'tramp-copy-args
+ (assoc "rsync" tramp-methods #'equal)))
+ (list
+ (list "-t" "%k")
+ (list "-p")
+ (list "-r")
+ ;; this option is invalid for my rsync program, for some reason
+ ;; ("-s")
+ (list "-c")))))
+
;; (defun durand-display-in-one-window (buffer _alist)
;; "Display BUFFER in one window.
;; ALIST is an association list of action symbols and values. See