0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-27 21:32:52 +00:00

Bugfix: Use let* instead of let

This commit is contained in:
Dan Davison 2009-07-11 13:39:05 -04:00
parent f622d8d288
commit cd4c794af6

View file

@ -387,7 +387,7 @@ source block. Specifically at the beginning of the #+RESNAME:
line. If no result exists for this block then create a
#+RESNAME: line following the source block."
(save-excursion
(let ((on-lob-line (progn (beginning-of-line 1)
(let* ((on-lob-line (progn (beginning-of-line 1)
(looking-at org-babel-lob-one-liner-regexp)))
(name (if on-lob-line (org-babel-lob-get-info) (org-babel-get-src-block-name)))
end head)