From 673761d4d8098038138805ace82a2a90214b9037 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 8 Apr 2017 01:36:11 -0400 Subject: [PATCH] General comment updates --- modules/lang/org/autoload/attach.el | 2 +- modules/lang/org/config.el | 2 +- modules/lang/php/config.el | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/lang/org/autoload/attach.el b/modules/lang/org/autoload/attach.el index 790c36ab4..f1a8c2811 100644 --- a/modules/lang/org/autoload/attach.el +++ b/modules/lang/org/autoload/attach.el @@ -1,6 +1,6 @@ ;;; lang/org/autoload/attach.el -(defun doom--org-attach-icon (path) +(defun +org--attach-icon (path) (char-to-string (pcase (downcase (file-name-extension path)) ("jpg" ?) ("jpeg" ?) ("png" ?) ("gif" ?) ("pdf" ?) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index e3aea9466..2494b83bf 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -29,7 +29,7 @@ ;; "A list of attachments for the current buffer. This is so my custom attachment ;; system can keep track of each buffer's attachments.") -;; Ensure ELPA org is loaded instead of the built-in org. +;; Ensure ELPA org is prioritized above built-in org. (when-let (path (locate-library "org" nil doom--package-load-path)) (push (file-name-directory path) load-path)) diff --git a/modules/lang/php/config.el b/modules/lang/php/config.el index 259f546e5..3db3ca714 100644 --- a/modules/lang/php/config.el +++ b/modules/lang/php/config.el @@ -16,7 +16,8 @@ (set! :repl 'php-mode 'php-boris) - + ;; default is 10; this optimizes `smartparens' performance, but limits sp + ;; pairs to 6 characters. (add-hook! php-mode (setq-local sp-max-pair-length 6)) (sp-with-modes '(php-mode)