aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris2014-07-28 05:39:09 -0400
committerGlenn Morris2014-07-28 05:39:09 -0400
commitda41ffdd089b529c3d5216412d95840e065c3fe3 (patch)
treea69f5a510e2c47f774f145d9567188bc89563ac1 /lisp/progmodes
parent414e1537ab09d2f4571e61b420523dcd082f2d3a (diff)
parent1c6c2e3c70ff2f666a1e3f29b8852d375c8392cd (diff)
downloademacs-da41ffdd089b529c3d5216412d95840e065c3fe3.tar.gz
emacs-da41ffdd089b529c3d5216412d95840e065c3fe3.zip
Merge from emacs-24; up to 2014-06-26T06:55:15Z!rgm@gnu.org
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/prolog.el4
-rw-r--r--lisp/progmodes/python.el3
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index a082d75b3c4..853f2d0dad2 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -1079,7 +1079,7 @@ VERSION is of the format (Major . Minor)"
1079 ;; Inherited from the old prolog.el. 1079 ;; Inherited from the old prolog.el.
1080 (define-key map "\e\C-x" 'prolog-consult-region) 1080 (define-key map "\e\C-x" 'prolog-consult-region)
1081 (define-key map "\C-c\C-l" 'prolog-consult-file) 1081 (define-key map "\C-c\C-l" 'prolog-consult-file)
1082 (define-key map "\C-c\C-z" 'switch-to-prolog)) 1082 (define-key map "\C-c\C-z" 'run-prolog))
1083 1083
1084(defun prolog-mode-keybindings-inferior (_map) 1084(defun prolog-mode-keybindings-inferior (_map)
1085 "Define keybindings for inferior Prolog mode in MAP." 1085 "Define keybindings for inferior Prolog mode in MAP."
@@ -1240,6 +1240,8 @@ To find out what version of Prolog mode you are running, enter
1240 ((string-match "\\`[rf] *[0-9]*\\'" str) nil) ;r(edo) or f(ail) 1240 ((string-match "\\`[rf] *[0-9]*\\'" str) nil) ;r(edo) or f(ail)
1241 (t t))) 1241 (t t)))
1242 1242
1243;; This statement was missing in Emacs 24.1, 24.2, 24.3.
1244(define-obsolete-function-alias 'switch-to-prolog 'run-prolog "24.1")
1243;;;###autoload 1245;;;###autoload
1244(defun run-prolog (arg) 1246(defun run-prolog (arg)
1245 "Run an inferior Prolog process, input and output via buffer *prolog*. 1247 "Run an inferior Prolog process, input and output via buffer *prolog*.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7d882837abc..b08da8da029 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2332,7 +2332,6 @@ interpreter is run. Variables
2332`python-shell-font-lock-enable', 2332`python-shell-font-lock-enable',
2333`python-shell-completion-setup-code', 2333`python-shell-completion-setup-code',
2334`python-shell-completion-string-code', 2334`python-shell-completion-string-code',
2335`python-shell-completion-module-string-code',
2336`python-eldoc-setup-code', `python-eldoc-string-code', 2335`python-eldoc-setup-code', `python-eldoc-string-code',
2337`python-ffap-setup-code' and `python-ffap-string-code' can 2336`python-ffap-setup-code' and `python-ffap-string-code' can
2338customize this mode for different Python interpreters. 2337customize this mode for different Python interpreters.
@@ -2408,7 +2407,7 @@ killed."
2408 interpreter nil args)) 2407 interpreter nil args))
2409 (python-shell--parent-buffer (current-buffer)) 2408 (python-shell--parent-buffer (current-buffer))
2410 (process (get-buffer-process buffer)) 2409 (process (get-buffer-process buffer))
2411 ;; As the user may have overriden default values for 2410 ;; As the user may have overridden default values for
2412 ;; these vars on `run-python', let-binding them allows 2411 ;; these vars on `run-python', let-binding them allows
2413 ;; to have the new right values in all setup code 2412 ;; to have the new right values in all setup code
2414 ;; that's is done in `inferior-python-mode', which is 2413 ;; that's is done in `inferior-python-mode', which is