emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106185: * comint.el (comint-get-old-


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106185: * comint.el (comint-get-old-input-default): Fix thinko in last change.
Date: Tue, 25 Oct 2011 08:33:31 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106185
fixes bug(s): http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9865
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2011-10-25 08:33:31 -0400
message:
  * comint.el (comint-get-old-input-default): Fix thinko in last change.
modified:
  lisp/comint.el
=== modified file 'lisp/comint.el'
--- a/lisp/comint.el    2011-10-25 02:19:17 +0000
+++ b/lisp/comint.el    2011-10-25 12:33:31 +0000
@@ -2152,7 +2152,7 @@
 the current line with any initial string matching the regexp
 `comint-prompt-regexp' removed."
   (let (bof)
-    (if (and comint-use-prompt-regexp
+    (if (and (not comint-use-prompt-regexp)
              ;; Make sure we're in an input rather than output field.
              (null (get-char-property (setq bof (field-beginning)) 'field)))
        (field-string-no-properties bof)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]