Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
183fc730
Commit
183fc730
authored
Sep 07, 2011
by
Leo Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conditionally initialize rcirc-input-ring
parent
77694924
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/rcirc.el
lisp/net/rcirc.el
+7
-1
No files found.
lisp/ChangeLog
View file @
183fc730
2011-09-07 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-mode): Conditionally initialize
rcirc-input-ring.
2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/find-func.el (find-function-C-source): Only set
...
...
lisp/net/rcirc.el
View file @
183fc730
...
...
@@ -964,7 +964,13 @@ This number is independent of the number of lines in the buffer.")
(setq mode-line-process nil)
(set (make-local-variable 'rcirc-input-ring)
(
make-ring
rcirc-input-ring-size
))
;; If rcirc-input-ring is already a ring with desired size do
;; not re-initialize.
(if (and (ring-p rcirc-input-ring)
(= (ring-size rcirc-input-ring)
rcirc-input-ring-size))
rcirc-input-ring
(make-ring rcirc-input-ring-size)))
(set (make-local-variable 'rcirc-server-buffer) (process-buffer process))
(set (make-local-variable 'rcirc-target) target)
(set (make-local-variable 'rcirc-topic) nil)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment