aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/oni-php.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-06-15 17:04:07 -0700
committerGravatar Tom Willemse2026-06-15 17:04:07 -0700
commita9e3ff34d7fca54ebb1a7f815210ac3659a0440e (patch)
tree27e69df59233a43a17ebaf60ed1a5c4e0e7c6ef7 /emacs/.emacs.d/oni-php.el
parente1ce86bb94add543880c0f6eeea86fe805e8cd58 (diff)
downloadnew-dotfiles-a9e3ff34d7fca54ebb1a7f815210ac3659a0440e.tar.gz
new-dotfiles-a9e3ff34d7fca54ebb1a7f815210ac3659a0440e.zip
oni-php: Add scripts directory
Diffstat (limited to 'emacs/.emacs.d/oni-php.el')
-rw-r--r--emacs/.emacs.d/oni-php.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/oni-php.el b/emacs/.emacs.d/oni-php.el
index 3d87dca..53e3304 100644
--- a/emacs/.emacs.d/oni-php.el
+++ b/emacs/.emacs.d/oni-php.el
@@ -49,7 +49,7 @@ nil for some reason."
"Try to add a use statement for CLASS under point."
(interactive (list (thing-at-point 'symbol)))
(let* ((default-directory (project-root (project-current)))
- (classes (read (shell-command-to-string (concat (expand-file-name "find-php-class" oni-php-scripts-dir) " " class))))
+ (classes (string-split (string-trim-right (shell-command-to-string (concat (expand-file-name "find-php-class" oni-php-scripts-dir) " " class))) "\n"))
(class (cond
((null classes)
(user-error "Class ā€˜%s’ not found" class))