diff options
| author | Juanma Barranquero | 2010-01-02 02:05:44 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2010-01-02 02:05:44 +0100 |
| commit | 0472835ff2f73013a9633306bf60faa49cd777ba (patch) | |
| tree | ff0ede67f53f653b2cced21bf79cc30080c144d7 /lisp/progmodes | |
| parent | db4a7382f0ee49338f9c52adb93cd16c4b93dcd3 (diff) | |
| download | emacs-0472835ff2f73013a9633306bf60faa49cd777ba.tar.gz emacs-0472835ff2f73013a9633306bf60faa49cd777ba.zip | |
lisp/*: Fix typos in docstrings and messages.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 26 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-help.el | 55 | ||||
| -rw-r--r-- | lisp/progmodes/octave-mod.el | 6 |
3 files changed, 44 insertions, 43 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 2987e6680a9..3efa13d03ae 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -140,8 +140,8 @@ address for root variables.") | |||
| 140 | (defvar gdb-server-prefix nil) | 140 | (defvar gdb-server-prefix nil) |
| 141 | (defvar gdb-flush-pending-output nil) | 141 | (defvar gdb-flush-pending-output nil) |
| 142 | (defvar gdb-location-alist nil | 142 | (defvar gdb-location-alist nil |
| 143 | "Alist of breakpoint numbers and full filenames. Only used for files that | 143 | "Alist of breakpoint numbers and full filenames. |
| 144 | Emacs can't find.") | 144 | Only used for files that Emacs can't find.") |
| 145 | (defvar gdb-active-process nil | 145 | (defvar gdb-active-process nil |
| 146 | "GUD tooltips display variable values when t, and macro definitions otherwise.") | 146 | "GUD tooltips display variable values when t, and macro definitions otherwise.") |
| 147 | (defvar gdb-recording nil | 147 | (defvar gdb-recording nil |
| @@ -520,7 +520,7 @@ otherwise do not." | |||
| 520 | (not (display-graphic-p))))) | 520 | (not (display-graphic-p))))) |
| 521 | 521 | ||
| 522 | ;; If expr is a macro for a function don't print because of possible dangerous | 522 | ;; If expr is a macro for a function don't print because of possible dangerous |
| 523 | ;; side-effects. Also printing a function within a tooltip generates an | 523 | ;; side-effects. Also printing a function within a tooltip generates an |
| 524 | ;; unexpected starting annotation (phase error). | 524 | ;; unexpected starting annotation (phase error). |
| 525 | (defun gdb-tooltip-print-1 (expr) | 525 | (defun gdb-tooltip-print-1 (expr) |
| 526 | (with-current-buffer (gdb-get-buffer 'gdb-partial-output-buffer) | 526 | (with-current-buffer (gdb-get-buffer 'gdb-partial-output-buffer) |
| @@ -1079,7 +1079,7 @@ INDENT is the current indentation depth." | |||
| 1079 | (if (or (<= (string-to-number children) gdb-max-children) | 1079 | (if (or (<= (string-to-number children) gdb-max-children) |
| 1080 | (y-or-n-p | 1080 | (y-or-n-p |
| 1081 | (format | 1081 | (format |
| 1082 | "%s has %s children. Continue? " expr children))) | 1082 | "%s has %s children. Continue? " expr children))) |
| 1083 | (if (and (eq (buffer-local-value | 1083 | (if (and (eq (buffer-local-value |
| 1084 | 'gud-minor-mode gud-comint-buffer) 'gdba) | 1084 | 'gud-minor-mode gud-comint-buffer) 'gdba) |
| 1085 | (string-equal gdb-version "pre-6.4")) | 1085 | (string-equal gdb-version "pre-6.4")) |
| @@ -1488,7 +1488,7 @@ not GDB." | |||
| 1488 | (let ((gud-running nil)) | 1488 | (let ((gud-running nil)) |
| 1489 | (gdb-invalidate-frames) | 1489 | (gdb-invalidate-frames) |
| 1490 | (unless (or gdb-register-names | 1490 | (unless (or gdb-register-names |
| 1491 | (string-equal gdb-version "pre-6.4")) | 1491 | (string-equal gdb-version "pre-6.4")) |
| 1492 | (gdb-enqueue-input | 1492 | (gdb-enqueue-input |
| 1493 | (list "server interpreter mi -data-list-register-names\n" | 1493 | (list "server interpreter mi -data-list-register-names\n" |
| 1494 | 'gdb-get-register-names)))) | 1494 | 'gdb-get-register-names)))) |
| @@ -1815,13 +1815,13 @@ Field names are wrapped in double quotes and equal signs are | |||
| 1815 | replaced with semicolons. | 1815 | replaced with semicolons. |
| 1816 | 1816 | ||
| 1817 | If FIX-KEY is non-nil, strip all \"FIX-KEY=\" occurences from | 1817 | If FIX-KEY is non-nil, strip all \"FIX-KEY=\" occurences from |
| 1818 | partial output. This is used to get rid of useless keys in lists | 1818 | partial output. This is used to get rid of useless keys in lists |
| 1819 | in MI messages, e.g.: [key=.., key=..]. -stack-list-frames and | 1819 | in MI messages, e.g.: [key=.., key=..]. -stack-list-frames and |
| 1820 | -break-info are examples of MI commands which issue such | 1820 | -break-info are examples of MI commands which issue such |
| 1821 | responses. | 1821 | responses. |
| 1822 | 1822 | ||
| 1823 | If FIX-LIST is non-nil, \"FIX-LIST={..}\" is replaced with | 1823 | If FIX-LIST is non-nil, \"FIX-LIST={..}\" is replaced with |
| 1824 | \"FIX-LIST=[..]\" prior to parsing. This is used to fix broken | 1824 | \"FIX-LIST=[..]\" prior to parsing. This is used to fix broken |
| 1825 | -break-info output when it contains breakpoint script field | 1825 | -break-info output when it contains breakpoint script field |
| 1826 | incompatible with GDB/MI output syntax." | 1826 | incompatible with GDB/MI output syntax." |
| 1827 | (save-excursion | 1827 | (save-excursion |
| @@ -1897,7 +1897,7 @@ FIX-KEY and FIX-KEY work as in `gdb-jsonify-buffer'." | |||
| 1897 | ;; annotation rule binding of whatever gdb sends to tell us this command | 1897 | ;; annotation rule binding of whatever gdb sends to tell us this command |
| 1898 | ;; might have changed it's output. | 1898 | ;; might have changed it's output. |
| 1899 | ;; | 1899 | ;; |
| 1900 | ;; NAME is the function name. DEMAND-PREDICATE tests if output is really needed. | 1900 | ;; NAME is the function name. DEMAND-PREDICATE tests if output is really needed. |
| 1901 | ;; GDB-COMMAND is a string of such. OUTPUT-HANDLER is the function bound to the | 1901 | ;; GDB-COMMAND is a string of such. OUTPUT-HANDLER is the function bound to the |
| 1902 | ;; input in the input queue (see comment about ``gdb communications'' above). | 1902 | ;; input in the input queue (see comment about ``gdb communications'' above). |
| 1903 | 1903 | ||
| @@ -2270,7 +2270,7 @@ corresponding to the mode line clicked." | |||
| 2270 | 2270 | ||
| 2271 | (defmacro gdb-propertize-header (name buffer help-echo mouse-face face) | 2271 | (defmacro gdb-propertize-header (name buffer help-echo mouse-face face) |
| 2272 | `(propertize ,name | 2272 | `(propertize ,name |
| 2273 | 'help-echo ,help-echo | 2273 | 'help-echo ,help-echo |
| 2274 | 'mouse-face ',mouse-face | 2274 | 'mouse-face ',mouse-face |
| 2275 | 'face ',face | 2275 | 'face ',face |
| 2276 | 'local-map | 2276 | 'local-map |
| @@ -2389,7 +2389,7 @@ corresponding to the mode line clicked." | |||
| 2389 | (goto-char (point-min)) | 2389 | (goto-char (point-min)) |
| 2390 | (forward-line (1- (string-to-number line))) | 2390 | (forward-line (1- (string-to-number line))) |
| 2391 | (set-window-point window (point)))))) | 2391 | (set-window-point window (point)))))) |
| 2392 | (error "No location specified.")))) | 2392 | (error "No location specified")))) |
| 2393 | 2393 | ||
| 2394 | 2394 | ||
| 2395 | ;; Frames buffer. This displays a perpetually correct backtrace | 2395 | ;; Frames buffer. This displays a perpetually correct backtrace |
| @@ -3284,7 +3284,7 @@ another GDB command e.g pwd, to see new frames") | |||
| 3284 | :button (:toggle . gdb-use-separate-io-buffer))) | 3284 | :button (:toggle . gdb-use-separate-io-buffer))) |
| 3285 | (define-key menu [gdb-many-windows] | 3285 | (define-key menu [gdb-many-windows] |
| 3286 | '(menu-item "Display Other Windows" gdb-many-windows | 3286 | '(menu-item "Display Other Windows" gdb-many-windows |
| 3287 | :help "Toggle display of locals, stack and breakpoint information" | 3287 | :help "Toggle display of locals, stack and breakpoint information." |
| 3288 | :button (:toggle . gdb-many-windows))) | 3288 | :button (:toggle . gdb-many-windows))) |
| 3289 | (define-key menu [gdb-restore-windows] | 3289 | (define-key menu [gdb-restore-windows] |
| 3290 | '(menu-item "Restore Window Layout" gdb-restore-windows | 3290 | '(menu-item "Restore Window Layout" gdb-restore-windows |
| @@ -4029,7 +4029,7 @@ from=\"\\(.*?\\)\"\\)") | |||
| 4029 | 4029 | ||
| 4030 | ;; Locals buffer. | 4030 | ;; Locals buffer. |
| 4031 | ;; | 4031 | ;; |
| 4032 | ;; uses "-stack-list-locals --simple-values". Needs GDB 6.1 onwards. | 4032 | ;; uses "-stack-list-locals --simple-values". Needs GDB 6.1 onwards. |
| 4033 | (gdb-set-buffer-rules 'gdb-locals-buffer | 4033 | (gdb-set-buffer-rules 'gdb-locals-buffer |
| 4034 | 'gdb-locals-buffer-name | 4034 | 'gdb-locals-buffer-name |
| 4035 | 'gdb-locals-mode) | 4035 | 'gdb-locals-mode) |
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 4cf275b3e6f..b73f8154fc4 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | 41 | ||
| 42 | ;;; Code: | 42 | ;;; Code: |
| 43 | (defvar idlwave-help-browse-url-available t | 43 | (defvar idlwave-help-browse-url-available t |
| 44 | "Whether browse-url is available") | 44 | "Whether browse-url is available.") |
| 45 | 45 | ||
| 46 | (require 'browse-url) | 46 | (require 'browse-url) |
| 47 | 47 | ||
| @@ -58,9 +58,9 @@ | |||
| 58 | (if idlwave-html-help-pre-v6 "#" "#wp")) | 58 | (if idlwave-html-help-pre-v6 "#" "#wp")) |
| 59 | 59 | ||
| 60 | (defcustom idlwave-html-system-help-location "help/online_help/" | 60 | (defcustom idlwave-html-system-help-location "help/online_help/" |
| 61 | "The directory, relative to idlwave-system-directory, where the idl | 61 | "The directory, relative to `idlwave-system-directory', where the IDL |
| 62 | HTML help files live, for IDL 6.2 and later. This location, if found, | 62 | HTML help files live, for IDL 6.2 and later. This location, if found, |
| 63 | is used in preference to the old idlwave-html-help-location." | 63 | is used in preference to the old `idlwave-html-help-location'." |
| 64 | :group 'idlwave-online-help | 64 | :group 'idlwave-online-help |
| 65 | :type 'directory) | 65 | :type 'directory) |
| 66 | 66 | ||
| @@ -69,7 +69,7 @@ is used in preference to the old idlwave-html-help-location." | |||
| 69 | nil | 69 | nil |
| 70 | "/usr/local/etc/") | 70 | "/usr/local/etc/") |
| 71 | "The directory where the idl_html_help/ dir lives. Obsolete for IDL | 71 | "The directory where the idl_html_help/ dir lives. Obsolete for IDL |
| 72 | 6.2 or later (see idlwave-html-system-help-location)." | 72 | 6.2 or later (see `idlwave-html-system-help-location')." |
| 73 | :group 'idlwave-online-help | 73 | :group 'idlwave-online-help |
| 74 | :type 'directory) | 74 | :type 'directory) |
| 75 | 75 | ||
| @@ -82,13 +82,13 @@ is used in preference to the old idlwave-html-help-location." | |||
| 82 | :type 'boolean) | 82 | :type 'boolean) |
| 83 | 83 | ||
| 84 | (defcustom idlwave-help-browser-function browse-url-browser-function | 84 | (defcustom idlwave-help-browser-function browse-url-browser-function |
| 85 | "Function to use to display html help. | 85 | "Function to use to display HTML help. |
| 86 | Defaults to `browse-url-browser-function', which see." | 86 | Defaults to `browse-url-browser-function', which see." |
| 87 | :group 'idlwave-online-help | 87 | :group 'idlwave-online-help |
| 88 | :type 'function) | 88 | :type 'function) |
| 89 | 89 | ||
| 90 | (defcustom idlwave-help-browser-generic-program browse-url-generic-program | 90 | (defcustom idlwave-help-browser-generic-program browse-url-generic-program |
| 91 | "Program to run if using browse-url-generic-program." | 91 | "Program to run if using `browse-url-generic-program'." |
| 92 | :group 'idlwave-online-help | 92 | :group 'idlwave-online-help |
| 93 | :type 'string) | 93 | :type 'string) |
| 94 | 94 | ||
| @@ -97,7 +97,7 @@ Defaults to `browse-url-browser-function', which see." | |||
| 97 | (defcustom idlwave-help-browser-generic-args | 97 | (defcustom idlwave-help-browser-generic-args |
| 98 | (if (boundp 'browse-url-generic-args) | 98 | (if (boundp 'browse-url-generic-args) |
| 99 | browse-url-generic-args "") | 99 | browse-url-generic-args "") |
| 100 | "Program args to use if using browse-url-generic-program." | 100 | "Program args to use if using `browse-url-generic-program'." |
| 101 | :group 'idlwave-online-help | 101 | :group 'idlwave-online-help |
| 102 | :type 'string) | 102 | :type 'string) |
| 103 | 103 | ||
| @@ -112,7 +112,7 @@ must be explicitly set non-nil in order for the variable | |||
| 112 | :type 'boolean) | 112 | :type 'boolean) |
| 113 | 113 | ||
| 114 | (defvar idlwave-help-directory "" | 114 | (defvar idlwave-help-directory "" |
| 115 | "Obsolete variable. See idlwave-html-help-location.") | 115 | "Obsolete variable. See `idlwave-html-help-location'.") |
| 116 | 116 | ||
| 117 | (defcustom idlwave-help-use-dedicated-frame t | 117 | (defcustom idlwave-help-use-dedicated-frame t |
| 118 | "*Non-nil means, use a separate frame for Online Help if possible." | 118 | "*Non-nil means, use a separate frame for Online Help if possible." |
| @@ -210,10 +210,10 @@ support." | |||
| 210 | "The default width of the help frame.") | 210 | "The default width of the help frame.") |
| 211 | 211 | ||
| 212 | (defvar idlwave-html-help-is-available nil | 212 | (defvar idlwave-html-help-is-available nil |
| 213 | "Is the system online help text avaiable?") | 213 | "Is the system online help text available?") |
| 214 | 214 | ||
| 215 | (defvar idlwave-help-mode-line-indicator "" | 215 | (defvar idlwave-help-mode-line-indicator "" |
| 216 | "Used for the special mode line in the idlwave-help-mode.") | 216 | "Used for the special mode line in the `idlwave-help-mode'.") |
| 217 | 217 | ||
| 218 | (defvar idlwave-help-window-configuration nil) | 218 | (defvar idlwave-help-window-configuration nil) |
| 219 | (defvar idlwave-help-special-topic-words nil) ; defined by get_rinfo | 219 | (defvar idlwave-help-special-topic-words nil) ; defined by get_rinfo |
| @@ -221,7 +221,7 @@ support." | |||
| 221 | ;; Define the key bindings for the Help application | 221 | ;; Define the key bindings for the Help application |
| 222 | 222 | ||
| 223 | (defvar idlwave-help-mode-map (make-sparse-keymap) | 223 | (defvar idlwave-help-mode-map (make-sparse-keymap) |
| 224 | "The keymap used in idlwave-help-mode.") | 224 | "The keymap used in `idlwave-help-mode'.") |
| 225 | 225 | ||
| 226 | (define-key idlwave-help-mode-map "q" 'idlwave-help-quit) | 226 | (define-key idlwave-help-mode-map "q" 'idlwave-help-quit) |
| 227 | (define-key idlwave-help-mode-map "w" 'widen) | 227 | (define-key idlwave-help-mode-map "w" 'widen) |
| @@ -303,7 +303,7 @@ When the hep text is a source file, the following commands are available | |||
| 303 | Fontification: [F]ontify the buffer like source code | 303 | Fontification: [F]ontify the buffer like source code |
| 304 | Jump: [h] to function doclib header | 304 | Jump: [h] to function doclib header |
| 305 | [H] to file doclib header | 305 | [H] to file doclib header |
| 306 | [.] back and forward between header and definition | 306 | [.] back and forth between header and definition |
| 307 | 307 | ||
| 308 | Here are all keybindings. | 308 | Here are all keybindings. |
| 309 | \\{idlwave-help-mode-map}" | 309 | \\{idlwave-help-mode-map}" |
| @@ -367,7 +367,7 @@ Here are all keybindings. | |||
| 367 | (defvar idlwave-experimental) | 367 | (defvar idlwave-experimental) |
| 368 | (defvar idlwave-last-context-help-pos) | 368 | (defvar idlwave-last-context-help-pos) |
| 369 | (defun idlwave-do-context-help (&optional arg) | 369 | (defun idlwave-do-context-help (&optional arg) |
| 370 | "Wrapper around the call to idlwave-context-help1. | 370 | "Wrapper around the call to `idlwave-do-context-help1'. |
| 371 | It collects and prints the diagnostics messages." | 371 | It collects and prints the diagnostics messages." |
| 372 | (let ((marker (list (current-buffer) (point))) | 372 | (let ((marker (list (current-buffer) (point))) |
| 373 | (idlwave-help-diagnostics nil)) | 373 | (idlwave-help-diagnostics nil)) |
| @@ -766,7 +766,7 @@ if passed as a function. See `idlwave-help-use-dedicated-frame'." | |||
| 766 | "Display HTML or other special help on a certain topic. | 766 | "Display HTML or other special help on a certain topic. |
| 767 | Either loads an HTML link, if LINK is non-nil, or gets special-help on | 767 | Either loads an HTML link, if LINK is non-nil, or gets special-help on |
| 768 | the optional arguments, if any special help is defined. If LINK is | 768 | the optional arguments, if any special help is defined. If LINK is |
| 769 | `t', first look up the optional arguments in the routine info list to | 769 | t, first look up the optional arguments in the routine info list to |
| 770 | see if a link is set for it. Try extra help functions if necessary." | 770 | see if a link is set for it. Try extra help functions if necessary." |
| 771 | ;; Lookup link | 771 | ;; Lookup link |
| 772 | (if (eq link t) | 772 | (if (eq link t) |
| @@ -817,7 +817,7 @@ see if a link is set for it. Try extra help functions if necessary." | |||
| 817 | (select-window cw))) | 817 | (select-window cw))) |
| 818 | 818 | ||
| 819 | (defun idlwave-help-html-link (link) | 819 | (defun idlwave-help-html-link (link) |
| 820 | "Get html help on a given LINK." | 820 | "Get HTML help on a given LINK." |
| 821 | (let ((browse-url-browser-function idlwave-help-browser-function) | 821 | (let ((browse-url-browser-function idlwave-help-browser-function) |
| 822 | (help-loc (idlwave-html-help-location)) | 822 | (help-loc (idlwave-html-help-location)) |
| 823 | (browse-url-generic-program idlwave-help-browser-generic-program) | 823 | (browse-url-generic-program idlwave-help-browser-generic-program) |
| @@ -847,14 +847,14 @@ see if a link is set for it. Try extra help functions if necessary." | |||
| 847 | (defvar idlwave-current-tags-buffer) | 847 | (defvar idlwave-current-tags-buffer) |
| 848 | (defvar idlwave-current-tags-class) | 848 | (defvar idlwave-current-tags-class) |
| 849 | (defun idlwave-help-with-source (name type class keyword) | 849 | (defun idlwave-help-with-source (name type class keyword) |
| 850 | "Provide help for routines not documented in the IDL manuals. Works | 850 | "Provide help for routines not documented in the IDL manuals. |
| 851 | by loading the routine source file into the help buffer. Depending on | 851 | Works by loading the routine source file into the help buffer. |
| 852 | the value of `idlwave-help-source-try-header', it attempts to show the | 852 | Depending on the value of `idlwave-help-source-try-header', it |
| 853 | routine definition or the header description. If | 853 | attempts to show the routine definition or the header description. |
| 854 | `idlwave-help-do-class-struct-tag' is non-nil, keyword is a tag to | 854 | If `idlwave-help-do-class-struct-tag' is non-nil, keyword is a tag |
| 855 | show help on from the class definition structure. If | 855 | to show help on from the class definition structure. |
| 856 | `idlwave-help-do-struct-tag' is non-nil, show help from the matching | 856 | If `idlwave-help-do-struct-tag' is non-nil, show help from the |
| 857 | structure tag definition. | 857 | matching structure tag definition. |
| 858 | 858 | ||
| 859 | This function can be used as `idlwave-extra-help-function'." | 859 | This function can be used as `idlwave-extra-help-function'." |
| 860 | (let* ((class-struct-tag idlwave-help-do-class-struct-tag) | 860 | (let* ((class-struct-tag idlwave-help-do-class-struct-tag) |
| @@ -953,7 +953,8 @@ This function can be used as `idlwave-extra-help-function'." | |||
| 953 | 953 | ||
| 954 | (defun idlwave-help-find-routine-definition (name type class keyword) | 954 | (defun idlwave-help-find-routine-definition (name type class keyword) |
| 955 | "Find the definition of routine CLASS::NAME in current buffer. | 955 | "Find the definition of routine CLASS::NAME in current buffer. |
| 956 | KEYWORD is ignored. Returns the point of match if successful, nil otherwise." | 956 | Returns the point of match if successful, nil otherwise. |
| 957 | KEYWORD is ignored." | ||
| 957 | (save-excursion | 958 | (save-excursion |
| 958 | (goto-char (point-max)) | 959 | (goto-char (point-max)) |
| 959 | (if (re-search-backward | 960 | (if (re-search-backward |
| @@ -1199,7 +1200,7 @@ Useful when source code is displayed as help. See the option | |||
| 1199 | "(help location unknown)"))) | 1200 | "(help location unknown)"))) |
| 1200 | 1201 | ||
| 1201 | (defun idlwave-help-show-help-frame () | 1202 | (defun idlwave-help-show-help-frame () |
| 1202 | "Show the help frame, creating it if necessary" | 1203 | "Show the help frame, creating it if necessary." |
| 1203 | ;; Use a special frame for this | 1204 | ;; Use a special frame for this |
| 1204 | (unless (frame-live-p idlwave-help-frame) | 1205 | (unless (frame-live-p idlwave-help-frame) |
| 1205 | (setq idlwave-help-frame | 1206 | (setq idlwave-help-frame |
| @@ -1254,7 +1255,7 @@ Useful when source code is displayed as help. See the option | |||
| 1254 | (if (memq system-type '(ms-dos windows-nt)) | 1255 | (if (memq system-type '(ms-dos windows-nt)) |
| 1255 | "bin/bin.x86/idl_assistant.exe" | 1256 | "bin/bin.x86/idl_assistant.exe" |
| 1256 | "bin/idl_assistant") | 1257 | "bin/idl_assistant") |
| 1257 | "The command, rooted at idlwave-system-directory, which invokes the | 1258 | "The command, rooted at `idlwave-system-directory', which invokes the |
| 1258 | IDL assistant.") | 1259 | IDL assistant.") |
| 1259 | 1260 | ||
| 1260 | (defun idlwave-help-assistant-available () | 1261 | (defun idlwave-help-assistant-available () |
| @@ -1293,7 +1294,7 @@ IDL assistant.") | |||
| 1293 | (unless (accept-process-output idlwave-help-assistant-process 15) | 1294 | (unless (accept-process-output idlwave-help-assistant-process 15) |
| 1294 | (error "Failed binding IDL_ASSISTANT socket")) | 1295 | (error "Failed binding IDL_ASSISTANT socket")) |
| 1295 | (if (not port) | 1296 | (if (not port) |
| 1296 | (error "Unable to open IDL_ASSISTANT.") | 1297 | (error "Unable to open IDL_ASSISTANT") |
| 1297 | (set-process-filter idlwave-help-assistant-process nil) | 1298 | (set-process-filter idlwave-help-assistant-process nil) |
| 1298 | (setq idlwave-help-assistant-socket | 1299 | (setq idlwave-help-assistant-socket |
| 1299 | (open-network-stream "IDL_ASSISTANT_SOCK" | 1300 | (open-network-stream "IDL_ASSISTANT_SOCK" |
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index ab3c7781868..7f09d83399b 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el | |||
| @@ -410,7 +410,7 @@ Non-nil means always go to the next Octave code line after sending." | |||
| 410 | 410 | ||
| 411 | This mode makes it easier to write Octave code by helping with | 411 | This mode makes it easier to write Octave code by helping with |
| 412 | indentation, doing some of the typing for you (with Abbrev mode) and by | 412 | indentation, doing some of the typing for you (with Abbrev mode) and by |
| 413 | showing keywords, comments, strings, etc.. in different faces (with | 413 | showing keywords, comments, strings, etc. in different faces (with |
| 414 | Font Lock mode on terminals that support it). | 414 | Font Lock mode on terminals that support it). |
| 415 | 415 | ||
| 416 | Octave itself is a high-level language, primarily intended for numerical | 416 | Octave itself is a high-level language, primarily intended for numerical |
| @@ -1260,7 +1260,7 @@ If Abbrev mode is on, expand abbrevs first." | |||
| 1260 | (defun octave-electric-semi () | 1260 | (defun octave-electric-semi () |
| 1261 | "Insert a semicolon in Octave mode. | 1261 | "Insert a semicolon in Octave mode. |
| 1262 | Maybe expand abbrevs and blink matching block open keywords. | 1262 | Maybe expand abbrevs and blink matching block open keywords. |
| 1263 | Reindent the line of `octave-auto-indent' is non-nil. | 1263 | Reindent the line if `octave-auto-indent' is non-nil. |
| 1264 | Insert a newline if `octave-auto-newline' is non-nil." | 1264 | Insert a newline if `octave-auto-newline' is non-nil." |
| 1265 | (interactive) | 1265 | (interactive) |
| 1266 | (if (not (octave-not-in-string-or-comment-p)) | 1266 | (if (not (octave-not-in-string-or-comment-p)) |
| @@ -1277,7 +1277,7 @@ Insert a newline if `octave-auto-newline' is non-nil." | |||
| 1277 | (defun octave-electric-space () | 1277 | (defun octave-electric-space () |
| 1278 | "Insert a space in Octave mode. | 1278 | "Insert a space in Octave mode. |
| 1279 | Maybe expand abbrevs and blink matching block open keywords. | 1279 | Maybe expand abbrevs and blink matching block open keywords. |
| 1280 | Reindent the line of `octave-auto-indent' is non-nil." | 1280 | Reindent the line if `octave-auto-indent' is non-nil." |
| 1281 | (interactive) | 1281 | (interactive) |
| 1282 | (setq last-command-event ? ) | 1282 | (setq last-command-event ? ) |
| 1283 | (if (and octave-auto-indent | 1283 | (if (and octave-auto-indent |