aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorKaroly Lorentey2007-01-13 22:59:28 +0000
committerKaroly Lorentey2007-01-13 22:59:28 +0000
commit38db5c8d522cc1faa8190e77dbc932a5560e6aad (patch)
treeefe4c81d7210843bb208282461ebce12c5bd3daf /lisp/progmodes
parent191ae1cf7cd2571277635b3b8e488e773ca5c9b9 (diff)
parentb4ec8cb4e66f94547e8215a1c1eb6cda3b83ca63 (diff)
downloademacs-38db5c8d522cc1faa8190e77dbc932a5560e6aad.tar.gz
emacs-38db5c8d522cc1faa8190e77dbc932a5560e6aad.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-592 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-593 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-594 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-595 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-596 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-597 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-598 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-186 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-187 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-188 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-189 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-190 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-191 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-593
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-langs.el40
-rw-r--r--lisp/progmodes/compile.el6
-rw-r--r--lisp/progmodes/vhdl-mode.el2
3 files changed, 28 insertions, 20 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index b3c0a578649..6907b56d6c6 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -208,23 +208,31 @@ the evaluated constant value at compile time."
208 ;; Some helper functions used when building the language constants. 208 ;; Some helper functions used when building the language constants.
209 209
210 (defun c-filter-ops (ops opgroup-filter op-filter &optional xlate) 210 (defun c-filter-ops (ops opgroup-filter op-filter &optional xlate)
211 ;; Used to filter operators from the list OPS in a DWIM:ey way: 211 ;; Extract a subset of the operators in the list OPS in a DWIM:ey
212 ;; OPS either has the structure of `c-operators', as a single 212 ;; way. The return value is a plain list of operators:
213 ;;
214 ;; OPS either has the structure of `c-operators', is a single
213 ;; group in `c-operators', or is a plain list of operators. 215 ;; group in `c-operators', or is a plain list of operators.
214 ;; OPGROUP-FILTER is used filter out the operator groups. It can 216 ;;
215 ;; be t to choose all groups, a list of the group type symbols to 217 ;; OPGROUP-FILTER specifies how to select the operator groups. It
216 ;; accept, or a function which will be called with the group 218 ;; can be t to choose all groups, a list of group type symbols
217 ;; symbol for each group and should return non-nil for those to 219 ;; (such as 'prefix) to accept, or a function which will be called
218 ;; include. OP-FILTER filters the individual operators in each 220 ;; with the group symbol for each group and should return non-nil
219 ;; group. It can be t to choose all operators, a regexp to test 221 ;; if that group is to be included.
220 ;; against each operator, or a function which will be called for 222 ;;
221 ;; each operator and should return non-nil for those to include. 223 ;; OP-FILTER filters the individual operators in each group. It
224 ;; can be t to choose all operators, a regexp to test against each
225 ;; operator, or a function which will be called for each operator
226 ;; and should return non-nil for those to include.
227 ;;
222 ;; If XLATE is given, it's a function which is called for each 228 ;; If XLATE is given, it's a function which is called for each
223 ;; matching operator and its return value is collected instead. 229 ;; matching operator and its return value is collected instead.
224 ;; If it returns a list, the elements are spliced directly into 230 ;; If it returns a list, the elements are spliced directly into
225 ;; the final result, which is returned as a list with duplicates 231 ;; the final result, which is returned as a list with duplicates
226 ;; removed using `equal'. `c-mode-syntax-table' for the current 232 ;; removed using `equal'.
227 ;; mode is in effect during the whole procedure. 233 ;;
234 ;; `c-mode-syntax-table' for the current mode is in effect during
235 ;; the whole procedure.
228 (unless (listp (car-safe ops)) 236 (unless (listp (car-safe ops))
229 (setq ops (list ops))) 237 (setq ops (list ops)))
230 (cond ((eq opgroup-filter t) 238 (cond ((eq opgroup-filter t)
@@ -719,11 +727,11 @@ expression."
719(c-lang-defconst c-operators 727(c-lang-defconst c-operators
720 "List describing all operators, along with their precedence and 728 "List describing all operators, along with their precedence and
721associativity. The order in the list corresponds to the precedence of 729associativity. The order in the list corresponds to the precedence of
722the operators: The operators in each element is a group with the same 730the operators: The operators in each element are a group with the same
723precedence, and the group has higher precedence than the groups in all 731precedence, and the group has higher precedence than the groups in all
724following elements. The car of each element describes the type of of 732following elements. The car of each element describes the type of the
725the operator group, and the cdr is a list of the operator tokens in 733operator group, and the cdr is a list of the operator tokens in it.
726it. The operator group types are: 734The operator group types are:
727 735
728'prefix Unary prefix operators. 736'prefix Unary prefix operators.
729'postfix Unary postfix operators. 737'postfix Unary postfix operators.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 04a5cf9cad7..c6876fb5d79 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -876,12 +876,12 @@ FMTS is a list of format specs for transforming the file name.
876Runs COMMAND, a shell command, in a separate process asynchronously 876Runs COMMAND, a shell command, in a separate process asynchronously
877with output going to the buffer `*compilation*'. 877with output going to the buffer `*compilation*'.
878 878
879If optional second arg COMINT is t the buffer will be in Comint mode with
880`compilation-shell-minor-mode'.
881
882You can then use the command \\[next-error] to find the next error message 879You can then use the command \\[next-error] to find the next error message
883and move to the source code that caused it. 880and move to the source code that caused it.
884 881
882If optional second arg COMINT is t the buffer will be in Comint mode with
883`compilation-shell-minor-mode'.
884
885Interactively, prompts for the command if `compilation-read-command' is 885Interactively, prompts for the command if `compilation-read-command' is
886non-nil; otherwise uses `compile-command'. With prefix arg, always prompts. 886non-nil; otherwise uses `compile-command'. With prefix arg, always prompts.
887Additionally, with universal prefix arg, compilation buffer will be in 887Additionally, with universal prefix arg, compilation buffer will be in
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 3bf4227a82f..cc58a09ec59 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -13851,7 +13851,7 @@ entity ENT-KEY."
13851 (vhdl-save-cache (car project-list)) 13851 (vhdl-save-cache (car project-list))
13852 (setq project-list (cdr project-list))) 13852 (setq project-list (cdr project-list)))
13853 (message "Saving hierarchy caches...done"))) 13853 (message "Saving hierarchy caches...done")))
13854 (error (progn (vhdl-warning "ERROR: An error occured while saving the hierarchy caches") 13854 (error (progn (vhdl-warning "ERROR: An error occurred while saving the hierarchy caches")
13855 (sit-for 2))))) 13855 (sit-for 2)))))
13856 13856
13857(defun vhdl-save-cache (key) 13857(defun vhdl-save-cache (key)