summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/public/posts/2021-10-02
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/public/posts/2021-10-02')
-rw-r--r--vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html4
-rw-r--r--vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html4
-rw-r--r--vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html16
3 files changed, 6 insertions, 18 deletions
diff --git a/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
index 16c466ba..52cb5a45 100644
--- a/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
@@ -118,9 +118,7 @@
<blockquote>
<ul>
<li>
- <p>
- the identifiers that are keywords cannot be used for other purposes;
- </p>
+ the identifiers that are keywords cannot be used for other purposes;
<ul>
<li>
The only place they can be used as non-keywords is in an attribute-token. (e.g. [[private]] is a valid attribute) (since C++11)
diff --git a/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index 614957e4..fc041fdd 100644
--- a/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -262,9 +262,7 @@
<h2><a href="#section--outro">まとめ</a></h2>
<ul>
<li>
- <p>
- <code>if</code> や <code>case</code> の条件の後ろには <code>then</code>、<code>;</code>、改行のいずれかが必要
- </p>
+ <code>if</code> や <code>case</code> の条件の後ろには <code>then</code>、<code>;</code>、改行のいずれかが必要
<ul>
<li>
通常は改行しておけばよい
diff --git a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index 1d1d97fe..5c6e386a 100644
--- a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -173,9 +173,7 @@
</p>
<ul>
<li>
- <p>
- <code>BufAdd</code>/<code>BufCreate</code>
- </p>
+ <code>BufAdd</code>/<code>BufCreate</code>
<ul>
<li>
→ <code>BufCreate</code> は歴史的な理由により (“for historic reasons”) 存在しているため、新しい方 (<code>BufAdd</code>) を使う
@@ -183,9 +181,7 @@
</ul>
</li>
<li>
- <p>
- <code>BufRead</code>/<code>BufReadPost</code>
- </p>
+ <code>BufRead</code>/<code>BufReadPost</code>
<ul>
<li>
→ <code>BufReadPre</code> との対称性のため、あるいは <code>BufWritePost</code> との対称性のため <code>BufReadPost</code> を使う
@@ -193,9 +189,7 @@
</ul>
</li>
<li>
- <p>
- <code>BufWrite</code>/<code>BufWritePre</code>
- </p>
+ <code>BufWrite</code>/<code>BufWritePre</code>
<ul>
<li>
→ <code>BufWritePost</code> との対称性のため、あるいは <code>BufReadPre</code> との対称性のため <code>BufWritePre</code> を使う
@@ -203,9 +197,7 @@
</ul>
</li>
<li>
- <p>
- <code>FileEncoding</code>/<code>EncodingChanged</code>
- </p>
+ <code>FileEncoding</code>/<code>EncodingChanged</code>
<ul>
<li>
→ <code>FileEncoding</code> は “Obsolete” と明言されているので、<code>EncodingChanged</code> を使う