General comment updates

This commit is contained in:
Henrik Lissner 2017-04-08 01:36:11 -04:00
parent 68389d21cd
commit 673761d4d8
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
;;; lang/org/autoload/attach.el ;;; 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)) (char-to-string (pcase (downcase (file-name-extension path))
("jpg" ?) ("jpeg" ?) ("png" ?) ("gif" ?) ("jpg" ?) ("jpeg" ?) ("png" ?) ("gif" ?)
("pdf" ?) ("pdf" ?)

View file

@ -29,7 +29,7 @@
;; "A list of attachments for the current buffer. This is so my custom attachment ;; "A list of attachments for the current buffer. This is so my custom attachment
;; system can keep track of each buffer's attachments.") ;; 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)) (when-let (path (locate-library "org" nil doom--package-load-path))
(push (file-name-directory path) load-path)) (push (file-name-directory path) load-path))

View file

@ -16,7 +16,8 @@
(set! :repl 'php-mode 'php-boris) (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)) (add-hook! php-mode (setq-local sp-max-pair-length 6))
(sp-with-modes '(php-mode) (sp-with-modes '(php-mode)