~pkal/nullpointer-emacs

bafd9bf96423d41a1a6ef412858f2a36be8631e8 — Philip Kaludercic 5 months ago d9c6a13
Ensure that 0x0--choose-service returns a symbol

Thanks to William Vaughn for pointing out the issue
1 files changed, 5 insertions(+), 4 deletions(-)

M 0x0.el
M 0x0.el => 0x0.el +5 -4
@@ 177,10 177,11 @@ Operate on region between START and END."
(defun 0x0--choose-service ()
  "Prompt user for service to use."
  (if current-prefix-arg
      (completing-read "Service: "
                       (mapcar #'car 0x0-services)
                       nil t nil nil
                       0x0-default-service)
      (intern
       (completing-read "Service: "
                        (mapcar #'car 0x0-services)
                        nil t nil nil
                        0x0-default-service))
    0x0-default-service))

(defun 0x0--filename ()