summaryrefslogtreecommitdiff
path: root/lisp/org/ob-exp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-03-15 13:39:56 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-03-15 13:39:56 -0400
commit0adf561883e07549e657a39d0a4a95cafa4d04fd (patch)
tree6a22754da903e82912e1144668cb98ff44e76783 /lisp/org/ob-exp.el
parentd72700e549c5006c24f368f6c35db0464593b1f0 (diff)
downloademacs-0adf561883e07549e657a39d0a4a95cafa4d04fd.tar.gz
Fix misuse of quote in `case'.
* lisp/progmodes/ruby-mode.el (ruby-backward-sexp): * lisp/progmodes/ebrowse.el (ebrowse-draw-file-member-info): * lisp/play/gamegrid.el (gamegrid-make-face): * lisp/play/bubbles.el (bubbles--grid-width, bubbles--grid-height) (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images): * lisp/notifications.el (notifications-notify): * lisp/net/xesam.el (xesam-search-engines): * lisp/net/quickurl.el (quickurl-list-insert): * lisp/vc/vc-hg.el (vc-hg-dir-printer): Fix use of case. * lisp/gnus/auth-source.el (auth-source-netrc-create): * lisp/gnus/message.el (message-yank-original): Fix use of `case'. * lisp/org/org-src.el (org-src-switch-to-buffer): * lisp/org/org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot): * lisp/org/org-mouse.el (org-mouse-agenda-type): * lisp/org/org-freemind.el (org-freemind-node-to-org): * lisp/org/ob-sql.el (org-babel-execute:sql): * lisp/org/ob-exp.el (org-babel-exp-do-export, org-babel-exp-code): * lisp/org/ob-ref.el (org-babel-ref-resolve): Fix use of case.
Diffstat (limited to 'lisp/org/ob-exp.el')
-rw-r--r--lisp/org/ob-exp.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/org/ob-exp.el b/lisp/org/ob-exp.el
index 1be45198e0d..3215bcf4d8a 100644
--- a/lisp/org/ob-exp.el
+++ b/lisp/org/ob-exp.el
@@ -231,10 +231,10 @@ The function respects the value of the :exports header argument."
(org-babel-exp-results info type 'silent))))
(clean () (org-babel-remove-result info)))
(case (intern (or (cdr (assoc :exports (nth 2 info))) "code"))
- ('none (silently) (clean) "")
- ('code (silently) (clean) (org-babel-exp-code info type))
- ('results (org-babel-exp-results info type))
- ('both (concat (org-babel-exp-code info type)
+ (none (silently) (clean) "")
+ (code (silently) (clean) (org-babel-exp-code info type))
+ (results (org-babel-exp-results info type))
+ (both (concat (org-babel-exp-code info type)
"\n\n"
(org-babel-exp-results info type))))))
@@ -250,8 +250,8 @@ The code block is not evaluated."
(name (nth 4 info))
(args (mapcar #'cdr (org-babel-get-header (nth 2 info) :var))))
(case type
- ('inline (format "=%s=" body))
- ('block
+ (inline (format "=%s=" body))
+ (block
(let ((str
(format "#+BEGIN_SRC %s %s\n%s%s#+END_SRC\n" lang switches body
(if (and body (string-match "\n$" body))
@@ -265,7 +265,7 @@ The code block is not evaluated."
(mapconcat #'identity args ", ")))
str))
str))
- ('lob
+ (lob
(let ((call-line (and (string-match "results=" (car args))
(substring (car args) (match-end 0)))))
(cond