diff options
| author | Glenn Morris | 2016-02-01 21:00:58 -0500 |
|---|---|---|
| committer | Glenn Morris | 2016-02-01 21:00:58 -0500 |
| commit | 4c3fae351a6015eef3a672529b0ba9877e16b08b (patch) | |
| tree | d1b6a21c36f0a986fa5f43740dbfa082987de8af | |
| parent | 93f21530ad0a17310f97f1a25dfbc67b249bf2e7 (diff) | |
| download | emacs-4c3fae351a6015eef3a672529b0ba9877e16b08b.tar.gz emacs-4c3fae351a6015eef3a672529b0ba9877e16b08b.zip | |
; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
| -rw-r--r-- | lisp/progmodes/prolog.el | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 9c15f3b6a0e..9ee405b31e1 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -53,34 +53,16 @@ | |||
| 53 | ;; all the bells and whistles one would expect, including syntax | 53 | ;; all the bells and whistles one would expect, including syntax |
| 54 | ;; highlighting and auto indentation. It can also send regions to an | 54 | ;; highlighting and auto indentation. It can also send regions to an |
| 55 | ;; inferior Prolog process. | 55 | ;; inferior Prolog process. |
| 56 | ;; | ||
| 57 | ;; The code requires the comint, easymenu, info, imenu, and font-lock | ||
| 58 | ;; libraries. These are normally distributed with GNU Emacs and | ||
| 59 | ;; XEmacs. | ||
| 60 | 56 | ||
| 61 | ;;; Installation: | 57 | ;; Some settings you may wish to use: |
| 62 | ;; | 58 | |
| 63 | ;; Insert the following lines in your init file: | ||
| 64 | ;; | ||
| 65 | ;; (setq load-path (cons "/usr/lib/xemacs/site-lisp" load-path)) | ||
| 66 | ;; (autoload 'run-prolog "prolog" "Start a Prolog sub-process." t) | ||
| 67 | ;; (autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t) | ||
| 68 | ;; (autoload 'mercury-mode "prolog" "Major mode for editing Mercury programs." t) | ||
| 69 | ;; (setq prolog-system 'swi) ; optional, the system you are using; | 59 | ;; (setq prolog-system 'swi) ; optional, the system you are using; |
| 70 | ;; ; see `prolog-system' below for possible values | 60 | ;; ; see `prolog-system' below for possible values |
| 71 | ;; (setq auto-mode-alist (append '(("\\.pl$" . prolog-mode) | 61 | ;; (setq auto-mode-alist (append '(("\\.pl\\'" . prolog-mode) |
| 72 | ;; ("\\.m$" . mercury-mode)) | 62 | ;; ("\\.m\\'" . mercury-mode)) |
| 73 | ;; auto-mode-alist)) | 63 | ;; auto-mode-alist)) |
| 74 | ;; | 64 | ;; |
| 75 | ;; where the path in the first line is the file system path to this file. | 65 | ;; The last expression above makes sure that files ending with .pl |
| 76 | ;; MSDOS paths can be written like "d:/programs/emacs-19.34/site-lisp". | ||
| 77 | ;; Note: In XEmacs, either `/usr/lib/xemacs/site-lisp' (RPM default in | ||
| 78 | ;; Red Hat-based distributions) or `/usr/local/lib/xemacs/site-lisp' | ||
| 79 | ;; (default when compiling from sources) are automatically added to | ||
| 80 | ;; `load-path', so the first line is not necessary provided that you | ||
| 81 | ;; put this file in the appropriate place. | ||
| 82 | ;; | ||
| 83 | ;; The last s-expression above makes sure that files ending with .pl | ||
| 84 | ;; are assumed to be Prolog files and not Perl, which is the default | 66 | ;; are assumed to be Prolog files and not Perl, which is the default |
| 85 | ;; Emacs setting. If this is not wanted, remove this line. It is then | 67 | ;; Emacs setting. If this is not wanted, remove this line. It is then |
| 86 | ;; necessary to either | 68 | ;; necessary to either |
| @@ -98,8 +80,8 @@ | |||
| 98 | ;; If the command to start the prolog process ('sicstus', 'pl' or | 80 | ;; If the command to start the prolog process ('sicstus', 'pl' or |
| 99 | ;; 'swipl' for SWI prolog, etc.) is not available in the default path, | 81 | ;; 'swipl' for SWI prolog, etc.) is not available in the default path, |
| 100 | ;; then it is necessary to set the value of the environment variable | 82 | ;; then it is necessary to set the value of the environment variable |
| 101 | ;; EPROLOG to a shell command to invoke the prolog process. In XEmacs | 83 | ;; EPROLOG to a shell command to invoke the prolog process. |
| 102 | ;; and Emacs 20+ you can also customize the variable | 84 | ;; You can also customize the variable |
| 103 | ;; `prolog-program-name' (in the group `prolog-inferior') and provide | 85 | ;; `prolog-program-name' (in the group `prolog-inferior') and provide |
| 104 | ;; a full path for your Prolog system (swi, scitus, etc.). | 86 | ;; a full path for your Prolog system (swi, scitus, etc.). |
| 105 | ;; | 87 | ;; |
| @@ -109,6 +91,7 @@ | |||
| 109 | ;; to keep the GNU Emacs compatibility. So if you work under Emacs | 91 | ;; to keep the GNU Emacs compatibility. So if you work under Emacs |
| 110 | ;; and see something that does not work do drop me a line, as I have | 92 | ;; and see something that does not work do drop me a line, as I have |
| 111 | ;; a smaller chance to notice this kind of bugs otherwise. | 93 | ;; a smaller chance to notice this kind of bugs otherwise. |
| 94 | ; [The above comment dates from 2011.] | ||
| 112 | 95 | ||
| 113 | ;; Changelog: | 96 | ;; Changelog: |
| 114 | 97 | ||