diff options
| author | Joakim Verona | 2013-09-11 08:45:50 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-11 08:45:50 +0200 |
| commit | 6481f6dd5203af347dca2ff2cf599be8e79fb1b9 (patch) | |
| tree | eccf7c2e96a04f4b8045ddaa2183ba4ad6eb455e /lisp/progmodes | |
| parent | 95227d0882184659bfe4e1322a3b9e246e145f0b (diff) | |
| parent | 2a08047aed0017cc2b639e189fc3b5d41c46fcbd (diff) | |
| download | emacs-6481f6dd5203af347dca2ff2cf599be8e79fb1b9.tar.gz emacs-6481f6dd5203af347dca2ff2cf599be8e79fb1b9.zip | |
merge from trunk
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 18 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 3 |
4 files changed, 17 insertions, 13 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 4c776290722..b0e7958241d 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1561,7 +1561,7 @@ Key bindings: | |||
| 1561 | (cons "Pike" (c-lang-const c-mode-menu pike))) | 1561 | (cons "Pike" (c-lang-const c-mode-menu pike))) |
| 1562 | 1562 | ||
| 1563 | ;;;###autoload (add-to-list 'auto-mode-alist '("\\.\\(u?lpc\\|pike\\|pmod\\(\\.in\\)?\\)\\'" . pike-mode)) | 1563 | ;;;###autoload (add-to-list 'auto-mode-alist '("\\.\\(u?lpc\\|pike\\|pmod\\(\\.in\\)?\\)\\'" . pike-mode)) |
| 1564 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("\\`pike\\'" . pike-mode)) | 1564 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("pike" . pike-mode)) |
| 1565 | 1565 | ||
| 1566 | ;;;###autoload | 1566 | ;;;###autoload |
| 1567 | (define-derived-mode pike-mode prog-mode "Pike" | 1567 | (define-derived-mode pike-mode prog-mode "Pike" |
| @@ -1595,7 +1595,10 @@ Key bindings: | |||
| 1595 | ;; Support for AWK | 1595 | ;; Support for AWK |
| 1596 | 1596 | ||
| 1597 | ;;;###autoload (add-to-list 'auto-mode-alist '("\\.awk\\'" . awk-mode)) | 1597 | ;;;###autoload (add-to-list 'auto-mode-alist '("\\.awk\\'" . awk-mode)) |
| 1598 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("\\`[gmn]?awk\\'" . awk-mode)) | 1598 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("awk" . awk-mode)) |
| 1599 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("mawk" . awk-mode)) | ||
| 1600 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("nawk" . awk-mode)) | ||
| 1601 | ;;;###autoload (add-to-list 'interpreter-mode-alist '("gawk" . awk-mode)) | ||
| 1599 | 1602 | ||
| 1600 | (c-define-abbrev-table 'awk-mode-abbrev-table | 1603 | (c-define-abbrev-table 'awk-mode-abbrev-table |
| 1601 | '(("else" "else" c-electric-continued-statement 0) | 1604 | '(("else" "else" c-electric-continued-statement 0) |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 1eea6972707..cc6c8234dd2 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -412,15 +412,15 @@ Affects: `cperl-font-lock', `cperl-electric-lbrace-space', | |||
| 412 | "use cperl-vc-rcs-header or cperl-vc-sccs-header instead." | 412 | "use cperl-vc-rcs-header or cperl-vc-sccs-header instead." |
| 413 | "22.1") | 413 | "22.1") |
| 414 | 414 | ||
| 415 | ;;; (defcustom cperl-clobber-mode-lists | 415 | ;; (defcustom cperl-clobber-mode-lists |
| 416 | ;;; (not | 416 | ;; (not |
| 417 | ;;; (and | 417 | ;; (and |
| 418 | ;;; (boundp 'interpreter-mode-alist) | 418 | ;; (boundp 'interpreter-mode-alist) |
| 419 | ;;; (assoc "miniperl" interpreter-mode-alist) | 419 | ;; (assoc "miniperl" interpreter-mode-alist) |
| 420 | ;;; (assoc "\\.\\([pP][Llm]\\|al\\)$" auto-mode-alist))) | 420 | ;; (assoc "\\.\\([pP][Llm]\\|al\\)$" auto-mode-alist))) |
| 421 | ;;; "*Whether to install us into `interpreter-' and `extension' mode lists." | 421 | ;; "*Whether to install us into `interpreter-' and `extension' mode lists." |
| 422 | ;;; :type 'boolean | 422 | ;; :type 'boolean |
| 423 | ;;; :group 'cperl) | 423 | ;; :group 'cperl) |
| 424 | 424 | ||
| 425 | (defcustom cperl-info-on-command-no-prompt nil | 425 | (defcustom cperl-info-on-command-no-prompt nil |
| 426 | "*Not-nil (and non-null) means not to prompt on C-h f. | 426 | "*Not-nil (and non-null) means not to prompt on C-h f. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5eecc347f03..5f919bf495f 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -225,7 +225,7 @@ | |||
| 225 | ;;;###autoload | 225 | ;;;###autoload |
| 226 | (add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode)) | 226 | (add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode)) |
| 227 | ;;;###autoload | 227 | ;;;###autoload |
| 228 | (add-to-list 'interpreter-mode-alist (cons (purecopy "\\`python[0-9.]*\\'") 'python-mode)) | 228 | (add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode)) |
| 229 | 229 | ||
| 230 | (defgroup python nil | 230 | (defgroup python nil |
| 231 | "Python Language's flying circus support for Emacs." | 231 | "Python Language's flying circus support for Emacs." |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 9dc2c4fb6c9..0f868255589 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1968,7 +1968,8 @@ The variable `ruby-indent-level' controls the amount of indentation. | |||
| 1968 | "\\)\\'")) 'ruby-mode)) | 1968 | "\\)\\'")) 'ruby-mode)) |
| 1969 | 1969 | ||
| 1970 | ;;;###autoload | 1970 | ;;;###autoload |
| 1971 | (add-to-list 'interpreter-mode-alist (cons (purecopy "\\`\\(rbx\\|j?ruby\\(1\\.[89]\\)?\\)\\'") 'ruby-mode)) | 1971 | (dolist (name (list "ruby" "rbx" "jruby" "ruby1.9" "ruby1.8")) |
| 1972 | (add-to-list 'interpreter-mode-alist (cons (purecopy name) 'ruby-mode))) | ||
| 1972 | 1973 | ||
| 1973 | (provide 'ruby-mode) | 1974 | (provide 'ruby-mode) |
| 1974 | 1975 | ||