Merged.

Pascal J. Bourguignon [2018-11-21 13:56]
Merged.
Filename
freerdp-c-style.el
pjb-sources.el
diff --git a/freerdp-c-style.el b/freerdp-c-style.el
index 9767445..893fbd4 100644
--- a/freerdp-c-style.el
+++ b/freerdp-c-style.el
@@ -615,5 +615,14 @@ unless -> in which case we remove the spaces."
   (local-set-key "(" 'freerdp-electric-paren-open)
   (local-set-key ")" 'freerdp-electric-paren-close))

+(defun freerdp-style-mode-off ()
+  (interactive)
+  (setf indent-tabs-mode nil
+        tab-width        4)
+  (dolist (chord '("," "=" ">" "<" "+" "-" "&" "|"
+                   "*" "/" "%" "^" "{" "}" "(" ")"))
+    (local-unset-key chord)))
+
+
 (provide 'freerdp-c-style)
 ;;;; THE END ;;;;
diff --git a/pjb-sources.el b/pjb-sources.el
index e3d6825..8c7fca6 100644
--- a/pjb-sources.el
+++ b/pjb-sources.el
@@ -3536,8 +3536,10 @@ SProject Type: ")
                                                                     (b (car b)))
                                                                (or (< (length a) (length b))
                                                                    (and (= (length a) (length b))
-                                                                        (string< a b)))))))))))))
-  (global-set-key (kbd "A-f") 'sources-find-file-named))
+                                                                        (string< a b))))))))))))))
+
+(global-set-key (kbd "A-f") 'sources-find-file-named)
+(global-set-key (kbd "C-c C-x C-f") 'sources-find-file-named)


ViewGit