|
From: | tumashu |
Subject: | Re:Re: [elpa] externals/pyim 9f017ac 18/36: New file: pyim-entered.el |
Date: | Fri, 23 Apr 2021 12:46:08 +0800 (CST) |
At 2021-04-23 11:19:49, "Stefan Monnier" <monnier@iro.umontreal.ca> wrote: >> + (pyim-with-entered-buffer >> + (cond >> + ((equal 1 (point)) >> + (buffer-string)) >> + ((eq type 'point-before) >> + (buffer-substring-no-properties 1 (point))) > >I recommend you use (point-min) rather than hardcoding 1. >It's a good practice in general, and as a bonus it leads to marginally >better bytecode. > > > Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |