about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-project.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-05-18 14:06:19 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-05-18 14:06:19 +0100
commit6a8748d142e1383cf8d6b5bf6ed361491ab82e3b (patch)
tree82cf7cfc4230a7413a65ed7c57c43da0da275291 /.emacs.d/lisp/init-project.el
parent8ac94b8fa8ffcac7cf35006d3ed843a9c7db28a9 (diff)
downloaddotfiles-6a8748d142e1383cf8d6b5bf6ed361491ab82e3b.tar.gz
Fix eldoc docstring length warnings
Diffstat (limited to '.emacs.d/lisp/init-project.el')
-rw-r--r--.emacs.d/lisp/init-project.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-project.el b/.emacs.d/lisp/init-project.el
index bacf4ac..f1e58c0 100644
--- a/.emacs.d/lisp/init-project.el
+++ b/.emacs.d/lisp/init-project.el
@@ -76,7 +76,8 @@
   :config
   ;; Based on jao-buffer-same-mode (https://jao.io/blog/2021-09-08-high-signal-to-noise-emacs-command.html)
   (defun persp-switch-buffer-same-mode ()
-    "Switch to a buffer with the same major mode as the current buffer, respecting the current perspective."
+    "Switch to a buffer with the same major mode as the current buffer, respecting
+the current perspective."
     (interactive)
     (let* ((mode major-mode)
            (pred (lambda (b)
@@ -84,7 +85,8 @@
                      (eq (buffer-local-value 'major-mode b) mode)))))
       (pop-to-buffer (persp-read-buffer "Buffer: " nil t pred))))
   (defun persp-previous-buffer-same-mode ()
-    "Switch to the previous buffer in the current perspective, with the same major mode as the current buffer (or do nothing)"
+    "Switch to the previous buffer in the current perspective, with the same major
+mode as the current buffer (or do nothing)"
     (interactive)
     (let* ((persp-buffers (seq-filter 'persp-is-current-buffer (buffer-list)))
            (mode major-mode)
@@ -97,7 +99,7 @@
       (when (not (seq-empty-p persp-buffers-in-mode))
         (switch-to-buffer (car persp-buffers-in-mode)))))
   (defun persp-current-project-root ()
-    "Return the current project root, falling back to finding it using the perpsective"
+    "Return the current project root, falling back to finding it by the perpsective"
     (if-let (project (project-current))
         (project-root project)
       (when-let (persp (persp-name (persp-curr)))