aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/local-repository.el6
-rw-r--r--modules/system-defaults.el4
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/local-repository.el b/modules/local-repository.el
index a9df09d38..e3c7a227a 100644
--- a/modules/local-repository.el
+++ b/modules/local-repository.el
@@ -24,7 +24,7 @@
;; ------------------------------ Utility Function -----------------------------
-(defun car-member (value list)
+(defun localrepo--car-member (value list)
"Check if VALUE exists as the car of any cons cell in LIST."
(member value (mapcar #'car list)))
@@ -65,11 +65,11 @@ keep them in source control."
(defun localrepo-initialize ()
"Add the repository to the package archives, then gives it a high priority."
- (unless (car-member localrepo-repository-id package-archives)
+ (unless (localrepo--car-member localrepo-repository-id package-archives)
(add-to-list 'package-archives
(cons localrepo-repository-id localrepo-repository-location)))
- (unless (car-member localrepo-repository-id package-archive-priorities)
+ (unless (localrepo--car-member localrepo-repository-id package-archive-priorities)
(add-to-list 'package-archive-priorities
(cons localrepo-repository-id localrepo-repository-priority))))
diff --git a/modules/system-defaults.el b/modules/system-defaults.el
index 7230103cc..c63ca0093 100644
--- a/modules/system-defaults.el
+++ b/modules/system-defaults.el
@@ -266,10 +266,10 @@ appears only once per session."
;; ------------------ Unpropertize Kill Ring For Performance -----------------
-(defun unpropertize-kill-ring ()
+(defun cj/--unpropertize-kill-ring ()
(setq kill-ring (mapcar 'substring-no-properties kill-ring)))
-(add-hook 'kill-emacs-hook 'unpropertize-kill-ring)
+(add-hook 'kill-emacs-hook 'cj/--unpropertize-kill-ring)
;; ------------------------------- GNU 'ls' On BSD -------------------------------