From 7680075bcf0ce1a1f59b4e2fd1e1a2ab2ac6c01d Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 17 Jul 2024 17:20:52 +1200 Subject: [PATCH] phobos.el: rename function parameter --- phobos.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phobos.el b/phobos.el index be1bcc0..ffb11ab 100644 --- a/phobos.el +++ b/phobos.el @@ -28,10 +28,10 @@ (defvar phobos-root "https://dlang.org/library" "Root URL to use when viewing documentation with `phobos'.") -(defun phobos (symbol-name) - "View the documentation on SYMBOL-NAME from the Phobos documentation. +(defun phobos (symbol) + "View the documentation on SYMBOL from the Phobos documentation. -SYMBOL-NAME can be a module (e.g. std.sumtype), a submodule (e.g. +SYMBOL can be a module (e.g. std.sumtype), a submodule (e.g. std.algorithm.searching), a function or type (e.g. std.stdio.File) or any other symbol part of a standard module, such as object.Exception. @@ -39,6 +39,6 @@ Phobos is the standard library for the D programming language. For more information on Phobos and the D programming language, see ." (interactive "MModule or symbol: ") (shell-command (concat phobos-browser " " phobos-root "/" - (string-replace "." "/" symbol-name) ".html"))) + (string-replace "." "/" symbol) ".html"))) (provide 'phobos)