Sample Header Ad - 728x90

Emacs/Lisp interactive string variable scoping

0 votes
1 answer
76 views
Why doesn't this work? (defun load-browser (app) (interactive "sChoose Browser? ") (cond ((string= app '"c") (setq browse-url-generic-program "chromium") (setq browse-url-browser-function 'browse-url-generic)) (message "Else case Typed %s" app) ) ) It fails to work in the Else case where the input string/char is not "c".
Asked by user55319
Feb 8, 2014, 12:26 AM
Last activity: Feb 8, 2014, 09:42 PM