[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 3ba5ecc 360/468: Minor simplification of lua-get-
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 3ba5ecc 360/468: Minor simplification of lua-get-create-process |
Date: |
Thu, 5 Aug 2021 04:59:09 -0400 (EDT) |
branch: elpa/lua-mode
commit 3ba5ecc1b05d167d127bade53834397e36834c2a
Author: Reuben Thomas <rrt@sc3d.org>
Commit: velkyel <capak@inputwish.com>
Minor simplification of lua-get-create-process
---
lua-mode.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index 2046a4d..bd92c3b 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1771,9 +1771,8 @@ When called interactively, switch to the process buffer."
(defun lua-get-create-process ()
"Return active Lua process creating one if necessary."
- (or (and (comint-check-proc lua-process-buffer)
- lua-process)
- (lua-start-process))
+ (unless (comint-check-proc lua-process-buffer)
+ (lua-start-process))
lua-process)
(defun lua-kill-process ()
- [nongnu] elpa/lua-mode 6a837f7 458/468: with-lua-buffer: ensure font-lock is activated, (continued)
- [nongnu] elpa/lua-mode 6a837f7 458/468: with-lua-buffer: ensure font-lock is activated, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 08d83fc 443/468: Merge pull request #180 from nbfalcon/bugfix/lua-start-process-hangs, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 56af490 446/468: lua-find-regexp: escape string/comment after a match is ignored, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 93da584 449/468: Bump indentation tests, add missing function-call-arguments suite, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 0018e95 452/468: make-indentation-pair: don't calculate full indentation on every closer, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d2ff304 456/468: Copy cl-signum into lua--signum for backward compat, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3688bf7 347/468: Merge pull request #136 from EdwardBetts/spelling, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6c69183 351/468: Merge pull request #139 from rrthomas/master, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode eacf137 349/468: Spell “Lua” consistently and its “process” (not “subprocess”), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode acd0c55 354/468: Revert to using group-n in lua--left-shifter-regexp, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3ba5ecc 360/468: Minor simplification of lua-get-create-process,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode c6e053e 361/468: Spell “Lua” consistently and its “process” (not “subprocess”), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 7909513 363/468: Merge pull request #141 from rrthomas/master, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a260cf9 368/468: Travis: enable testing on 26.1, 26.2 and git snapshot, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode c9635fb 369/468: travis.yml: print emacs version, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 494a5de 371/468: Fix some linter complaints about docstrings, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ceb575b 374/468: tests: break down function header tests into separate cases, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 99c7431 375/468: travis: mark "git-snapshot" as allowed failure, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 770a83d 376/468: Merge pull request #152 from immerrr/fix-compat-with-new-rx-package, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 171b99c 382/468: Merge pull request #159 from tarsiiformes/typos, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a1f6d28 385/468: added lua-indent-close-paren-align var, Philip Kaludercic, 2021/08/05