* textmodes/enriched.el (enriched-next-annotation):
Use eq. Fixes: debbugs:11528
This commit is contained in:
parent
c81b46f68f
commit
e994155e95
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-06-23 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* textmodes/enriched.el (enriched-next-annotation):
|
||||
Use eq (Bug#11528).
|
||||
|
||||
2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* minibuffer.el (minibuffer-confirm-exit-commands):
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ Return value is \(begin end name positive-p), or nil if none was found."
|
|||
(progn (goto-char (match-beginning 0))
|
||||
(not (looking-at enriched-annotation-regexp))))
|
||||
(forward-char 1)
|
||||
(if (= ?< (char-after (point)))
|
||||
(if (eq ?< (char-after (point)))
|
||||
(delete-char 1)
|
||||
;; A single < that does not start an annotation is an error,
|
||||
;; which we note and then ignore.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue