diff options
Diffstat (limited to 'common.el')
-rw-r--r-- | common.el | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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 |