aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2013-05-29 00:18:09 -0700
committerGlenn Morris2013-05-29 00:18:09 -0700
commit03983bdcc404a0e813857be4f5abae4849b47d91 (patch)
tree8922ec6965c206f353051155216f8431f9cf77b5 /lisp
parentf236dd8432cad5f39088e4b99a44478e21930e4d (diff)
downloademacs-03983bdcc404a0e813857be4f5abae4849b47d91.tar.gz
emacs-03983bdcc404a0e813857be4f5abae4849b47d91.zip
idlwave-concatenate-rinfo-lists fix
* progmodes/idlwave.el (idlwave-concatenate-rinfo-lists): Handle idlwave-last-system-routine-info-cons-cell being nil. This seems to prevent an error on typing `C-c TAB', idlwave-update-routine-info, in an idlwave buffer.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/idlwave.el13
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 219e3d902ea..3fa1ffe40a7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -8,6 +8,9 @@
8 8
92013-05-29 Glenn Morris <rgm@gnu.org> 92013-05-29 Glenn Morris <rgm@gnu.org>
10 10
11 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12 Handle idlwave-last-system-routine-info-cons-cell being nil.
13
11 * progmodes/idlwave.el (idlwave-scan-user-lib-files) 14 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12 (idlwave-write-paths): Simplify via with-temp-buffer. 15 (idlwave-write-paths): Simplify via with-temp-buffer.
13 16
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index cbcd2f9d10e..ba9a632b949 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -5078,11 +5078,14 @@ Cache to disk for quick recovery."
5078 ;; The sequence here is important because earlier definitions shadow 5078 ;; The sequence here is important because earlier definitions shadow
5079 ;; later ones. We assume that if things in the buffers are newer 5079 ;; later ones. We assume that if things in the buffers are newer
5080 ;; then in the shell of the system, they are meant to be different. 5080 ;; then in the shell of the system, they are meant to be different.
5081 (setcdr idlwave-last-system-routine-info-cons-cell 5081 (let ((temp (append idlwave-buffer-routines
5082 (append idlwave-buffer-routines 5082 idlwave-compiled-routines
5083 idlwave-compiled-routines 5083 idlwave-library-catalog-routines
5084 idlwave-library-catalog-routines 5084 idlwave-user-catalog-routines)))
5085 idlwave-user-catalog-routines)) 5085 ;; Not actually used for anything?
5086 (if idlwave-last-system-routine-info-cons-cell
5087 (setcdr idlwave-last-system-routine-info-cons-cell temp)
5088 (setq idlwave-last-system-routine-info-cons-cell (cons temp nil))))
5086 (setq idlwave-class-alist nil) 5089 (setq idlwave-class-alist nil)
5087 5090
5088 ;; Give a message with information about the number of routines we have. 5091 ;; Give a message with information about the number of routines we have.